< prev index next >

src/java.base/share/native/libjli/java.c

Print this page
@@ -1338,10 +1338,14 @@
          * Check for CDS option
          */
          if (JLI_StrCmp(arg, "-Xshare:dump") == 0) {
              dumpSharedSpaces = JNI_TRUE;
          }
+         if (JLI_StrCmp(arg, "-XX:AOTMode=create") == 0) {
+             // Alias for -Xshare:dump
+             dumpSharedSpaces = JNI_TRUE;
+         }
      }
  
      if (*pwhat == NULL && --argc >= 0) {
          *pwhat = *argv++;
      }
< prev index next >