On Fri, 24 Feb 2023 04:03:53 GMT, Martin Doerr <mdo...@openjdk.org> wrote:

> * Since the membar on the return path was mentioned: I think it would be good 
> to enable UseSystemMemoryBarrier by default on operating systems which 
> support it. Maybe we should discuss this with @robehn.

Changing the default is fine by me.
There is, AFAIK, one case that needs to read the thread state a lot, thus 
emitting sysmembars alot, JFR with very high sampling rate. Other than that 
there are no issues that I know about.
Maybe it would be good to test at what sampling interval we notice a change?
Also I think it's not best match to have the flag experimental when we are in 
some sense using it. Maybe diagnostic?

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

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

Reply via email to