Skip to content


8315770: serviceability/sa/ 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 ea00fca commit 3130e03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/hotspot/jtreg/serviceability/sa/
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);

Expand Down

1 comment on commit 3130e03

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.