On Sat, 26 Jun 2021 17:48:15 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> The crash happens because nmethod might become a zombie before it is enqueued > in JvmtiDeferredEventQueue or after it is dequeued from it. The crash is > reproduced by serviceability/jvmti/CompiledMethodLoad/Zombie.java. However, > it takes ~3K runs to hit it. I verified the fix by running this test >100K > on each platform. Also, I verified that protecting in 'void > JvmtiDeferredEventQueue::post(JvmtiEnv* env)' is not enough. This pull request has now been integrated. Changeset: b969136b Author: Leonid Mesnik <lmes...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/b969136b9fcf5f977ebe466f5f9de5c520413e84 Stats: 7 lines in 4 files changed: 3 ins; 1 del; 3 mod 8245877: assert(_value != __null) failed: resolving NULL _value in JvmtiExport::post_compiled_method_load Reviewed-by: sspitsyn, dholmes, coleenp ------------- PR: https://git.openjdk.java.net/jdk/pull/4602