RFR: 8309468: Remove jvmti Allocate locker test case

Leo Korinth lkorinth at openjdk.org
Mon Jun 12 16:48:02 UTC 2023


There is a bunch of tests that are used to test critical section/gc locker. One of the test is named jvmti locker. In that test, JNI code is doing a loop of ` jvmti->Allocate()` followed `sleep()` followed by a `jvmti->Deallocate()`. There is no JVM lock implementation to be tested on jvmti Allocate/Deallocate, they are implemented using malloc/free. Let us save test time, code complexity and confusion by removing this test. 

This removal is very similar to https://bugs.openjdk.org/browse/JDK-8309048

(Oracle) hs-tier5 testing passed on x86-64.

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

Commit messages:
 - 8309468: Remove jvmti Allocate locker test case

Changes: https://git.openjdk.org/jdk/pull/14421/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14421&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309468
  Stats: 260 lines in 9 files changed: 0 ins; 257 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14421.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14421/head:pull/14421

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


More information about the hotspot-dev mailing list