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 28, 2023
1 parent ffef098 commit 166adaa
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 @@ -88,6 +88,9 @@ static boolean useDefaultUlimit() {
static void test(String type) throws Throwable {
ProcessBuilder pb = ProcessTools.createTestJvm("-XX:+CreateCoredumpOnCrash",
"-Xmx512m", "-XX:MaxMetaspaceSize=64m", "-XX:+CrashOnOutOfMemoryError", "-XX:-TransmitErrorReport",
// 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);

boolean useDefaultUlimit = useDefaultUlimit();
Expand Down

1 comment on commit 166adaa

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