[jdk8u-dev] Integrated: 8305165: [8u] ServiceThread::nmethods_do is not called to keep nmethods from being zombied while in the queue

Joshua Zhu jzhu at openjdk.org
Tue Apr 25 19:55:15 UTC 2023


On Wed, 29 Mar 2023 09:54:09 GMT, Joshua Zhu <jzhu at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 3147b1ba
Author:    Joshua Zhu <jzhu at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/3147b1bafe12326a97269655de46f066931f3ee4
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8305165: [8u] ServiceThread::nmethods_do is not called to keep nmethods from being zombied while in the queue

Reviewed-by: phh

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

PR: https://git.openjdk.org/jdk8u-dev/pull/293


More information about the jdk8u-dev mailing list