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

Reviewed-by: shade, kevinw, cjplummer, lmesnik
  • Loading branch information
roy-soumadipta authored and shipilev committed Sep 11, 2023
1 parent d06a564 commit 877731d
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",
CoreUtils.getAlwaysPretouchArg(true),
TestJmapCore.class.getName(), type);

Expand Down

1 comment on commit 877731d

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