RFR: 8320272: Make method_entry_barrier address shared [v2]

Vladimir Kozlov kvn at openjdk.org
Sun Nov 19 20:50:51 UTC 2023


On Sat, 18 Nov 2023 00:24:47 GMT, Tom Rodriguez <never at openjdk.org> wrote:

>> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   address comment
>
> src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp line 150:
> 
>> 148:     thread_disarmed_guard_value_offset = in_bytes(bs_nm->thread_disarmed_guard_value_offset());
>> 149:     AMD64_ONLY(nmethod_entry_barrier = StubRoutines::method_entry_barrier());
>> 150:     AARCH64_ONLY(nmethod_entry_barrier = StubRoutines::method_entry_barrier());
> 
> Now that's there's a single name you can remove the 2 per arch definitions in favor of single assignment statement.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16708#discussion_r1398491708


More information about the hotspot-dev mailing list