RFR: 8268095: CDS MethodHandle tests should add -XX:-VerifyDependencies

Calvin Cheung ccheung at openjdk.java.net
Thu Jun 3 16:42:50 UTC 2021


Please review this patch for disabling the `VerifyDependencies` option when running the CDS MethodHandle tests with debug build. It reduces the time required for running the tests a lot.
e.g. total time for running the `appcds/methodHandles/MethodHandlesSpreadArgumentsTest.java` test with debug build:
before 489.102s
after 62.721s

The patch passed tier1 and tier2 tests.

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

Commit messages:
 - 8268095: CDS MethodHandle tests should add -XX:-VerifyDependencies

Changes: https://git.openjdk.java.net/jdk/pull/4338/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4338&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268095
  Stats: 91 lines in 14 files changed: 70 ins; 0 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4338.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4338/head:pull/4338

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


More information about the hotspot-runtime-dev mailing list