United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7034967 C1: assert(false) failed: error (assembler_sparc.cpp:2043)
JDK-7034967 : C1: assert(false) failed: error (assembler_sparc.cpp:2043)

Details
Type:
Bug
Submit Date:
2011-04-08
Status:
Closed
Updated Date:
2011-04-25
Project Name:
JDK
Resolved Date:
2011-04-25
Component:
hotspot
OS:
solaris
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs21 (b09)

Related Reports
Backport:

Sub Tasks

Description
Nightly test failed with
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/B/021853.never/source/src/cpu/sparc/vm/assembler_sparc.cpp:2043), pid=4459, tid=442
#  assert(false) failed: error
#
# JRE version: 7.0-b136
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b05-internal-201104060218.never.7032963-fastdebug mixed mode solaris-sparc compressed oops)
# Core dump written. Default location: /export/local/46618.JDK7.NIGHTLY.VM+solaris-sparcv9_vm_server_mixed_vm.parallel_class_loading.testlist/results/ResultDir/inner-simple/core or core.4459
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp


http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK7/NIGHTLY/VM/2011-04-06/G1_GC_Baseline-tiered/vm/solaris-sparcv9/server/mixed/solaris-sparcv9_vm_server_mixed_vm.parallel_class_loading.testlist/analysis.html

Failed test:
runtime/ParallelClassLoading/unsync/inner-simple

                                    

Comments
EVALUATION

The assert is a verification failure originated from LIR_Assembler::emit_unwind_handler() complaining that the exception oop is null.

The verification code is invalid, because in C1_MacroAssembler::verify_not_null_oop() we use br_zero() check for null, which actuall check only the least significant 32bits. The solution would be to change it to br_notnull(), which is for pointer comparisons.
                                     
2011-04-08
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/d86923d96dca
                                     
2011-04-09



Hardware and Software, Engineered to Work Together