United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6953058 G1: A bigapp crashes with SIGSEGV in compiled code
JDK-6953058 : G1: A bigapp crashes with SIGSEGV in compiled code

Details
Type:
Bug
Submit Date:
2010-05-17
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u21
Fixed Versions:
hs19 (b03)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
See comments for more details.
The VM crashes in the product and in the fastdebug mode with the SIGSEGV.

                                    

Comments
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.
                                     
2010-06-07
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.
                                     
2010-06-07
EVALUATION

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

http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/d53d91cb378c
                                     
2010-06-10
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/master/rev/d53d91cb378c
                                     
2010-06-11



Hardware and Software, Engineered to Work Together