JDK-6953058 : G1: A bigapp crashes with SIGSEGV in compiled code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2010-05-17
  • Updated: 2013-09-18
  • Resolved: 2011-03-08
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
6u21Fixed 7Fixed hs17Fixed
Related Reports
Relates :  
See comments for more details.
The VM crashes in the product and in the fastdebug mode with the SIGSEGV.

EVALUATION http://hg.openjdk.java.net/hsx/hsx17/master/rev/d53d91cb378c

EVALUATION http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/d53d91cb378c

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/2458a1f25356

SUGGESTED FIX Pass a control input to the IR nodes for the loads of _index and _buf. This should limit how far the JIT can move them.

EVALUATION The loads of the DirtyCardQueue::_index and DirtyCardQueue::_buf in the G1 post write barrier were moved above a safepoint in which these fields were reset.