RFR: 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341 [v2]

David Holmes dholmes at openjdk.org
Wed May 31 21:13:46 UTC 2023


> The fix for [JDK-8308341](https://bugs.openjdk.org/browse/JDK-8308341) overlooked the fact that during VM initialization agents can run and create native threads that will attach to (and potentially detach from) the VM. The check that VM init was complete before allowing those operations was too strong and has to be reverted. All the guards, except for that of GetCreatedJavaVMs itself, is reverted to the way it was before JDK-8308341.
> 
> Testing: tiers 1-4 (in progress)
> 
> Thanks.

David Holmes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Undo ProblemList.txt update
 - Fixed indent
 - Merge branch 'master' into 8309171-attach-failure
 - 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14239/files
  - new: https://git.openjdk.org/jdk/pull/14239/files/3d8378bb..cff7f2dd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14239&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14239&range=00-01

  Stats: 1573 lines in 161 files changed: 665 ins; 471 del; 437 mod
  Patch: https://git.openjdk.org/jdk/pull/14239.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14239/head:pull/14239

PR: https://git.openjdk.org/jdk/pull/14239


More information about the hotspot-dev mailing list