[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-compiler-dev
Subject:    Re: RFR: 8280844: Epoch shift synchronization point for Compiler threads is inadequate [v2]
From:       Doug Simon <dnsimon () openjdk ! org>
Date:       2023-02-28 14:30:27
Message-ID: u7Pjflgh6OQN-zhpUpgNTCu-foMIkxyTKcfewYGquRw=.563f376f-bf8e-488c-9093-d36637796acf () github ! com
[Download RAW message or body]

On Mon, 16 May 2022 11:37:43 GMT, Markus Grönlund <mgronlun@openjdk.org> wrote:

> > Greetings,
> > 
> > [JDK-8233111](https://bugs.openjdk.java.net/browse/JDK-8233111) attempted to \
> > address artefact tagging for Compiler threads, letting threads run \
> > _thread_in_native to avoid the transition. Unfortunately, that attempt proved \
> > inadequate. 
> > The epoch race is avoided only by performing the transition to _thread_in_vm.
> > 
> > Testing: jdk_jfr
> > 
> > Thanks
> > Markus
> 
> Markus Grönlund has updated the pull request incrementally with one additional \
> commit since the last revision: 
> delegate assertion

src/hotspot/share/compiler/compilerEvent.cpp line 119:

> 117: }
> 118: 
> 119: // As part of event commit, a Method* is tagged as a function of an epoch.

This transition is not necessary for JVMCI compiler threads: \
https://github.com/openjdk/jdk/pull/12787

-------------

PR: https://git.openjdk.org/jdk/pull/8724


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic