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

David Holmes dholmes at openjdk.org
Wed Mar 29 00:09:38 UTC 2023


On Wed, 29 Mar 2023 00:00:47 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Move flag configuration and initialization to os::init_2.
>
> src/hotspot/os/aix/os_aix.cpp line 2228:
> 
>> 2226:   if (UseSystemMemoryBarrier) {
>> 2227:     if (!SystemMemoryBarrier::initialize()) {
>> 2228:       if (!FLAG_IS_DEFAULT(UseSystemMemoryBarrier)) {
> 
> Have we processed this flag by this stage?

This really should be done once in shared code, as well - somewhere in arguments.cpp

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12753#discussion_r1151268129


More information about the hotspot-dev mailing list