RFR: 8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag [v5]

David Holmes dholmes at openjdk.org
Thu Mar 30 00:09:15 UTC 2023


On Wed, 29 Mar 2023 10:47:49 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> > > Note: The feature requires at least Linux 4.14. The flag needs to be off for older versions.
> > 
> > 
> > In that case we should do a version check when trying to initialize, and at least warn if the OS is too old.
> 
> We already warn if the linux version is too old: https://github.com/openjdk/jdk/pull/12753/files#diff-aeec57d804d56002f26a85359fc4ac8b48cfc249d57c656a30a63fc6bf3457adR4496 Would you like the message to mention Linux 4.14?

I think I may have misunderstood that comment in JBS. I read it is as "you can turn this on in versions earlier than 4.14 but you shouldn't". If trying to turn it on in earlier versions just fails, then that is fine.

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

PR Comment: https://git.openjdk.org/jdk/pull/12753#issuecomment-1489502479


More information about the hotspot-dev mailing list