The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Large pages should be enabled by default on Solaris. When no garbage collector is specified on the command line, large pages are being quietly disabled.
EVALUATION
Disable large pages only if class data sharing is possible (i.e., serial gc is in use).
- Move the code that determines whether sharing should be enabled to a new method, set_shared_space_flags().
- Combine the compressed oops checks from check_compressed_oops_compat() into set_shared_space_flags().
* This is a behavior change: prior to this fix, the vm would exit with an error message if UseCompressedOops and either -Xshare:on or -Xshare:dump was specified on the command line. Now the vm prints a warning and disables UseCompressedOops, which is how other options that conflict with class data sharing are handled (UseParallelGC, UseG1GC, UseLargePages, etc.). The old behavior was also inconsistent between client and server.
- Call set_shared_space_flags() after set_ergonomics_flags() has selected a garbage collector.
- Obsolete the unused var ForceSharedSpaces.