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

Leonid Mesnik has updated the pull request incrementally with one additional 
commit since the last revision:

  Added comment.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4602/files
  - new: https://git.openjdk.java.net/jdk/pull/4602/files/35d5848c..9ea2cb9c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4602&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4602&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4602.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4602/head:pull/4602

PR: https://git.openjdk.java.net/jdk/pull/4602

Reply via email to