RFR: 8309562: [JVMCI] Export symbols used by VirtualThread notifyJvmti intrinsics to JVMCI compilers.

Vladimir Kozlov kvn at openjdk.org
Wed Jun 7 15:43:58 UTC 2023


On Wed, 7 Jun 2023 08:04:52 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> This PR allows JVMCI compiler to implement VirtualThread notifyJvmti intrinsics.

src/hotspot/share/jvmci/vmStructs_jvmci.cpp line 222:

> 220:   JVMTI_ONLY(nonstatic_field(JavaThread,       _is_in_tmp_VTMS_transition,                    bool))                                 \
> 221:                                                                                                                                      \
> 222:   static_field(JvmtiVTMSTransitionDisabler,    _VTMS_notify_jvmti_events,                     bool)                                  \

I think this should be also under `JVMTI_ONLY()`. Did you have issues if you do that?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14348#discussion_r1221815421


More information about the hotspot-compiler-dev mailing list