RFR: 8317452: [JVMCI] Export symbols used by lightweight locking to JVMCI compilers. [v2]
Doug Simon
dnsimon at openjdk.org
Wed Oct 4 07:37:32 UTC 2023
On Wed, 4 Oct 2023 07:37:03 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:
>> Export JavaThread::_lock_stack, LockStack::_top, LockStack::_end_offset, and ObjectMonitor::ANONYMOUS_OWNER to JVMCI compilers. Deprecate JVMCIUseFastLocking
>
> Yudi Zheng has updated the pull request incrementally with one additional commit since the last revision:
>
> remove JVMCIUseFastLocking.
src/hotspot/share/jvmci/jvmci_globals.hpp line 130:
> 128: "Exclude JVMCI compiler threads from benchmark counters") \
> 129: \
> 130: develop(bool, JVMCIUseFastLocking, true, \
You should just delete this option - JVMCI is clearly marked as experimental.
What you have in this PR is not proper deprecation. What if someone specifies `-XX:-JVMCIUseFastLocking`? They will get no warning or VM exit.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16032#discussion_r1345330993
More information about the graal-dev
mailing list