RFR: 8278638: Remove FLAG_IS_CMDLINE(UseSharedSpaces)
Yumin Qi
minqi at openjdk.java.net
Tue Dec 14 17:41:28 UTC 2021
On Tue, 14 Dec 2021 16:06:28 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
> Please review this small fix for bug JDK-827638. The fix was tested by running Mach5 tiers 1 and 2 on Linux, Mac OS, and Windows, Mach5 tier 4 on Linux x64, and by building on linux-aarch64-zero and linux-x64-zero.
>
> Thanks, Harold
src/hotspot/share/runtime/arguments.cpp line 3999:
> 3997: return JNI_ERR;
> 3998: }
> 3999: if ((UseSharedSpaces && xshare_auto_cmd_line) ||
xshare_auto_cmd_line is set with UseSharedSpaces (line 2715) so it should be OK to check only for itself.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6835
More information about the hotspot-runtime-dev
mailing list