*** 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++; }