[lilliput-jdk17u:lilliput] RFR: 8317452: [JVMCI] Export symbols used by lightweight locking to JVMCI compilers.

Aleksey Shipilev shade at openjdk.org
Mon Apr 8 17:24:13 UTC 2024


On Mon, 8 Apr 2024 17:06:48 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Backport of https://github.com/openjdk/jdk/commit/9718f490fb76f6712ac8f9c7f5248ca10bf83e6f
> 
> Eases subsequent backports and makes JVMCI compatible with future Graal LW locking impl.
> 
> Unclean because of context diff in vmStructs_jvmci.cpp, otherwise straightforward.

Looks reasonable.

src/hotspot/share/runtime/arguments.cpp line 4073:

> 4071: #endif // COMPILER1
> 4072: #if INCLUDE_JVMCI
> 4073:       || !JVMCIUseFastLocking

I was a bit concerned this subtly changes the observable VM behavior by JVMCI compilers, but it looks like the flag is already `develop`, and so cannot really affect release binaries.

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

Marked as reviewed by shade (Committer).

PR Review: https://git.openjdk.org/lilliput-jdk17u/pull/74#pullrequestreview-1987004093
PR Review Comment: https://git.openjdk.org/lilliput-jdk17u/pull/74#discussion_r1556175410


More information about the lilliput-dev mailing list