test/hotspot/jtreg/gc/arguments/TestSoftMaxHeapSizeFlag.java
changeset 55618 978b2201984c
parent 55283 4556dd808daa
child 58679 9c3209ff7550
equal deleted inserted replaced
55617:3eae7f0e21d6 55618:978b2201984c
    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