# HG changeset patch # User roland # Date 1398330307 -7200 # Node ID 1cc31246af03a759fc4df22195da80af9ddeaa70 # Parent fc29508050500a547ea7e7108c5e0d9c024f39ce 8039960: Unexpected exit from test compiler/profiling/spectrapredefineclass/Launcher.java Summary: the test case doesn't need to change the heap size to reproduce the failure. Reviewed-by: twisti, kvn diff -r fc2950805050 -r 1cc31246af03 hotspot/test/compiler/profiling/spectrapredefineclass/Agent.java --- a/hotspot/test/compiler/profiling/spectrapredefineclass/Agent.java Thu Apr 24 09:47:34 2014 +0200 +++ b/hotspot/test/compiler/profiling/spectrapredefineclass/Agent.java Thu Apr 24 11:05:07 2014 +0200 @@ -66,15 +66,6 @@ public class Agent implements ClassFileTransformer { - static class MemoryChunk { - MemoryChunk other; - long[] array; - MemoryChunk(MemoryChunk other) { - other = other; - array = new long[1024 * 1024 * 1024]; - } - } - static public boolean m2(A a) { boolean res = false; if (a.getClass() == B.class) { diff -r fc2950805050 -r 1cc31246af03 hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java --- a/hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java Thu Apr 24 09:47:34 2014 +0200 +++ b/hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java Thu Apr 24 11:05:07 2014 +0200 @@ -30,7 +30,7 @@ * @build Agent * @run main ClassFileInstaller Agent * @run main Launcher - * @run main/othervm -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -Xmx1M -XX:ReservedCodeCacheSize=3M Agent + * @run main/othervm -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -XX:ReservedCodeCacheSize=3M Agent */ public class Launcher { public static void main(String[] args) throws Exception {