mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-29 20:48:29 +00:00
8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Reviewed-by: shade, kevinw, cjplummer, lmesnik
This commit is contained in:
parent
d06a564328
commit
877731d2a2
@ -73,6 +73,9 @@ public class TestJmapCore {
|
||||
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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user