< prev index next >

test/hotspot/jtreg/compiler/startup/StartupOutput.java

Print this page
*** 60,11 ***
              throw new Exception("VM crashed with exit code " + exitCode);
          }
  
          Process[] pr = new Process[200];
          for (int i = 0; i < 200; i++) {
!             int initialCodeCacheSizeInKb = 800 + rand.nextInt(400);
              int reservedCodeCacheSizeInKb = initialCodeCacheSizeInKb + rand.nextInt(200);
              pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:InitialCodeCacheSize=" + initialCodeCacheSizeInKb + "K", "-XX:ReservedCodeCacheSize=" + reservedCodeCacheSizeInKb + "k", "-version");
              pr[i] = pb.start();
          }
          for (int i = 0; i < 200; i++) {
--- 60,11 ---
              throw new Exception("VM crashed with exit code " + exitCode);
          }
  
          Process[] pr = new Process[200];
          for (int i = 0; i < 200; i++) {
!             int initialCodeCacheSizeInKb = 2000 + rand.nextInt(400);
              int reservedCodeCacheSizeInKb = initialCodeCacheSizeInKb + rand.nextInt(200);
              pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:InitialCodeCacheSize=" + initialCodeCacheSizeInKb + "K", "-XX:ReservedCodeCacheSize=" + reservedCodeCacheSizeInKb + "k", "-version");
              pr[i] = pb.start();
          }
          for (int i = 0; i < 200; i++) {
< prev index next >