[jdk8u-dev] RFR: 8305165: [8u] ServiceThread::nmethods_do is not called to keep nmethods from being zombied while in the queue
Joshua Zhu
jzhu at openjdk.org
Wed Mar 29 09:59:54 UTC 2023
Various Crashes in JvmtiExport::post_compiled_method_load were found in
our production environment after users started to receive the JVMTI
COMPILED_METHOD_LOAD event.
ServiceThread::nmethods_do should have been called to keep nmethods from
being zombied while in the JvmtiDeferredEventQueue, but
JavaThead::nmethods_do is called at present.
Make a virtual function call to the correct method to fix this issue.
With the fix, various crashes were gone.
This issue only exists in 8u.
-------------
Commit messages:
- 8305165: [8u] ServiceThread::nmethods_do is not called to keep nmethods from being zombied while in the queue
Changes: https://git.openjdk.org/jdk8u-dev/pull/293/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=293&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305165
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/293.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/293/head:pull/293
PR: https://git.openjdk.org/jdk8u-dev/pull/293
More information about the jdk8u-dev
mailing list