< prev index next >

test/hotspot/jtreg/gc/TestAllocateHeapAt.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017, xxx Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -42,14 +42,14 @@
     if (!testVmOptsStr.isEmpty()) {
       String[] testVmOpts = testVmOptsStr.split(" ");
       Collections.addAll(vmOpts, testVmOpts);
     }
     String test_dir = System.getProperty("test.dir", ".");
-    Collections.addAll(vmOpts, new String[] {"-XX:AllocateHeapAt="+test_dir,
+    Collections.addAll(vmOpts, new String[] {"-XX:AllocateHeapAt=" + test_dir,
                                              "-Xlog:gc+heap=info",
-                                             "-Xmx50m",
-                                             "-Xms50m",
+                                             "-Xmx32m",
+                                             "-Xms32m",
                                              "-version"});
     
     System.out.print("Testing:\n" + JDKToolFinder.getJDKTool("java"));
     for (int i = 0; i < vmOpts.size(); i += 1) {
       System.out.print(" " + vmOpts.get(i));
< prev index next >