equal
deleted
inserted
replaced
33 */ |
33 */ |
34 |
34 |
35 import jdk.test.lib.process.ProcessTools; |
35 import jdk.test.lib.process.ProcessTools; |
36 |
36 |
37 public class TestSoftMaxHeapSizeFlag { |
37 public class TestSoftMaxHeapSizeFlag { |
38 private static final long Xms = 200 * 1024 * 1024; |
38 // Note: Xms and Xmx values get aligned up by HeapAlignment which is 32M with 64k pages. |
39 private static final long Xmx = 300 * 1024 * 1024; |
39 private static final long Xms = 224 * 1024 * 1024; |
|
40 private static final long Xmx = 320 * 1024 * 1024; |
40 private static final long greaterThanXmx = Xmx + 1; |
41 private static final long greaterThanXmx = Xmx + 1; |
41 private static final long betweenXmsAndXmx = (Xms + Xmx) / 2; |
42 private static final long betweenXmsAndXmx = (Xms + Xmx) / 2; |
42 |
43 |
43 public static void main(String args[]) throws Exception { |
44 public static void main(String args[]) throws Exception { |
44 // Test default value |
45 // Test default value |