JDK-7118648 : disable compressed oops by default on MacOS X until 7118647 is fixed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2011-12-06
  • Updated: 2012-03-22
  • Resolved: 2012-01-20
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 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
Compressed oops should be disabled by default on MacOS X until the
following bug is fixed:

7118647 3/3 compressed oops crashes on MacOS X with JPRT GCBasher test

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/55d777c0860a
22-03-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/55d777c0860a
15-12-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/55d777c0860a
07-12-2011

SUGGESTED FIX This prevents the flag from being turned on: set_ergonomics_flags(); + #ifdef __APPLE__ + UNSUPPORTED_OPTION(UseCompressedOops, "UseCompressedOops, pending the fix for 7118647,") + #endif
07-12-2011

EVALUATION See description and suggested fix.
06-12-2011

SUGGESTED FIX Here are the context diffs for the proposed fix: diff -r a5a9db0e0203 src/share/vm/runtime/arguments.cpp --- a/src/share/vm/runtime/arguments.cpp Tue Dec 06 07:23:42 2011 -0800 +++ b/src/share/vm/runtime/arguments.cpp Tue Dec 06 15:29:17 2011 -0800 @@ -1359,9 +1359,12 @@ // by ergonomics. if (MaxHeapSize <= max_heap_for_compressed_oops()) { #if !defined(COMPILER1) || defined(TIERED) +#ifndef __APPLE__ + // disable UseCompressedOops by default on MacOS X until 7118647 is fixed if (FLAG_IS_DEFAULT(UseCompressedOops)) { FLAG_SET_ERGO(bool, UseCompressedOops, true); } +#endif // !__APPLE__ #endif #ifdef _WIN64 if (UseLargePages && UseCompressedOops) {
06-12-2011