< prev index next >

test/hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java

Print this page
*** 43,11 ***
    public static void main(String[] args) throws Exception {
      ArrayList<String> processArgs = new ArrayList<>();
      processArgs.add("-Xshare:dump");
  
      if (Platform.is64bit()) {
!       processArgs.add("-XX:MaxMetaspaceSize=3m");
        processArgs.add("-XX:CompressedClassSpaceSize=1m");
      } else {
        processArgs.add("-XX:MaxMetaspaceSize=1m");
      }
  
--- 43,11 ---
    public static void main(String[] args) throws Exception {
      ArrayList<String> processArgs = new ArrayList<>();
      processArgs.add("-Xshare:dump");
  
      if (Platform.is64bit()) {
!       processArgs.add("-XX:MaxMetaspaceSize=2m");
        processArgs.add("-XX:CompressedClassSpaceSize=1m");
      } else {
        processArgs.add("-XX:MaxMetaspaceSize=1m");
      }
  
< prev index next >