JDK-7018056 : large pages not always enabled by default
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: solaris_10u10,solaris_11,hs21,6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS:
    generic,solaris,solaris_nevada,solaris_10 generic,solaris,solaris_nevada,solaris_10
  • CPU: generic,x86
  • Submitted: 2011-02-08
  • Updated: 2011-04-25
  • Resolved: 2011-04-25
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.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
Description
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.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/a2c2eac1ca62
25-03-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/a2c2eac1ca62
21-03-2011

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.
07-03-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/a2c2eac1ca62
06-03-2011

EVALUATION Looks like an unintended consequence of 6888573: class data sharing does not always disable large pages.
08-02-2011