RFR: 8292591: Experimentally add back barrier-less Java thread transitions [v5]

Robbin Ehn rehn at openjdk.org
Fri Sep 9 18:26:51 UTC 2022


On Fri, 9 Sep 2022 16:31:30 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

> Looks good to me! I think we can avoid always emitting the memory barrier for the JFR sampler if we move it inside the thread_state_in_native() case and then re-read the state after the barrier.

Thanks! If we can make the sampler performance better when using sysmembar it would be good.

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

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


More information about the hotspot-dev mailing list