Skip to content
Permalink
Browse files
8254799: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java fa…
…ils with release VMs

Reviewed-by: dholmes, dcubed, stuefe
  • Loading branch information
DamonFool committed Oct 15, 2020
1 parent cda22e3 commit f3ce45f2a1ba0c91c601043125ca8691aa3deb36
Showing 1 changed file with 2 additions and 1 deletion.
@@ -29,6 +29,7 @@
*/

import jdk.test.lib.Asserts;
import jdk.test.lib.Platform;
import jdk.test.lib.classloader.GeneratingClassLoader;
import jdk.test.lib.hprof.HprofParser;
import jdk.test.lib.process.ProcessTools;
@@ -78,7 +79,7 @@ static void test(String type) throws Exception {
// MaxMetaspaceSize=16M - ~12-15K classes - ~12sec runtime with all verifications
// MaxMetaspaceSize=16M - ~12-15K classes - VerifyDependencies off - ~3seconds on ppc
"-XX:MaxMetaspaceSize=16m",
"-XX:-VerifyDependencies",
Platform.isDebugBuild() ? "-XX:-VerifyDependencies" : "-Dx",
TestHeapDumpOnOutOfMemoryError.class.getName(), type);

OutputAnalyzer output = new OutputAnalyzer(pb.start());

1 comment on commit f3ce45f

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on f3ce45f Oct 15, 2020

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.