mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
This commit is contained in:
committed by
Vitaly Provodin
parent
09ec05318a
commit
77b781dd38
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user