RFR(XXS): 8188109 JVM should print a warning message that -Xshare:on may cause VM to abort start-up

Thomas Stüfe thomas.stuefe at gmail.com
Thu May 31 05:20:31 UTC 2018


> Maybe we need -Xshare:on_and_I_really_mean_it ;-)
> Cheers,
> David

How about -Xshare:on, -Xshare:off and an additional diagnostic flag,
-XX:+ExitOnCDSFail. Gives you the same width of options but since
diagnostic flags have to be explicitly enabled should make most people
aware of the problem.



More information about the hotspot-runtime-dev mailing list