Skip to content

Commit

Permalink
8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with…
Browse files Browse the repository at this point in the history
… -XX:-VerifyDependencies

Backport-of: 877731d2a20249ce4724a071ba2da1faa56daca4
  • Loading branch information
roy-soumadipta authored and shipilev committed Sep 26, 2023
1 parent 1d618a3 commit 52962e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/hotspot/jtreg/serviceability/sa/TestJmapCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ public static void main(String[] args) throws Throwable {
static void test(String type) throws Throwable {
ProcessBuilder pb = ProcessTools.createTestJvm("-XX:+CreateCoredumpOnCrash",
"-Xmx512m", "-XX:MaxMetaspaceSize=64m", "-XX:+CrashOnOutOfMemoryError",
// The test loads lots of small classes to exhaust Metaspace, skip method
// dependency verification to improve performance in debug builds.
Platform.isDebugBuild() ? "-XX:-VerifyDependencies" : "--show-version",
TestJmapCore.class.getName(), type);

// If we are going to force a core dump, apply "ulimit -c unlimited" if we can.
Expand Down

1 comment on commit 52962e4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.