United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6994628 G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
JDK-6994628 : G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)

Details
Type:
Bug
Submit Date:
2010-10-25
Status:
Closed
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b04)

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

Sub Tasks

Description
gc/gctests/FinalizeTest05 fails. 
rerun.sh here
http://vmsqe.russia.sun.com/execution/results/JDK7/PROMOTION/VM/7/b114/G1/vm/solaris-i586/server/comp/solaris-i586_vm_server_comp_vm.gc.testlist/ResultDir/FinalizeTest05/rerun.sh

The test reports that 1 object is finalized however no objects should be finalized.
The test fails only with G1.

                                    

Comments
EVALUATION

SS12u1 compiler incorrectly re-ordered 2 two volatile reads.
                                     
2010-12-02
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/3cd116fd11be
                                     
2010-12-08
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/3cd116fd11be
                                     
2010-12-10
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/3cd116fd11be
                                     
2010-12-25



Hardware and Software, Engineered to Work Together