United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6974682 CTW: assert(target != NULL) failed: must not be null
6974682 : CTW: assert(target != NULL) failed: must not be null

Details
Type:
Bug
Submit Date:
2010-08-04
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic,solaris_10
Sub-Component:
compiler
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs19
Fixed Versions:
hs19

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

Sub Tasks

Description
java -d64 -XX:+StressRecompilation -Xss4m -verify -XX:-ShowMessageBoxOnError -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=1 -Xbootclasspath/p:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/CompileTheWorld/jarfiles/weblogicbig.jar

...
CompileTheWorld (1448) : bsh/Interpreter$JJCalls
CompileTheWorld (1449) : bsh/Interpreter
# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
#  Internal Error (/net/irkutsk.us.oracle.com/export/home/kvn/work2/hg/6973329/src/share/vm/code/relocInfo.hpp:1132), pid=17539, tid=51 
#  assert(target != NULL) failed: must not be null 
# 
# JRE version: 6.0_21-b05 
# Java VM: OpenJDK 64-Bit Server VM (19.0-b04-internal-fastdebug mixed mode solaris-amd64 compressed oops) 
# If you would like to submit a bug report, please visit: 
#   http://java.sun.com/webapps/bugreport/crash.jsp 
# 
 
---------------  T H R E A D  --------------- 
 
Current thread (0x0000000003262000):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=51, stack(0xfffffd7ffb2ff000,0xfffffd7ffb3ff000)] 
 
Stack: [0xfffffd7ffb2ff000,0xfffffd7ffb3ff000],  sp=0xfffffd7ffb3f9ca0,  free space=1003k 
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 
V  [libjvm.so+0x235bc3c] void VMError::report(outputStream*) + 0x6ac
V  [libjvm.so+0x235cc88] void VMError::report_and_die() + 0x4d8
V  [libjvm.so+0xd6e7ab] void report_vm_error(const char*,int,const char*,const char*) + 0x5bb
V  [libjvm.so+0x837361] AddressLiteral::AddressLiteral(unsigned char*,relocInfo::relocType) + 0x711
V  [libjvm.so+0x66bdbc] void jumpXtnd_addrNode::emit(CodeBuffer&,PhaseRegAlloc*)const + 0x68c
V  [libjvm.so+0x1d9b83f] void Compile::Fill_buffer() + 0xf6f
V  [libjvm.so+0xbf82a9] void Compile::Code_Gen() + 0x6a9
V  [libjvm.so+0xbeeaf5] Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool) + 0x1635
V  [libjvm.so+0x99dc94] void C2Compiler::compile_method(ciEnv*,ciMethod*,int) + 0x154
V  [libjvm.so+0xc0f279] void CompileBroker::invoke_compiler_on_method(CompileTask*) + 0x11f9
V  [libjvm.so+0xc0d388] void CompileBroker::compiler_thread_loop() + 0xde8
V  [libjvm.so+0x2223b64] void JavaThread::thread_main_inner() + 0x1b4
V  [libjvm.so+0x22237a1] void JavaThread::run() + 0x621
V  [libjvm.so+0x1d7554a] java_start + 0x66a
C  [libc.so.1+0x114ad4]  _thrp_setup+0xbc _thrp_setup + 0xbc
C  [libc.so.1+0x114d90]  _lwp_start+0x0 _lwp_start + 0x0
 
 
Current CompileTask: 
C2:11469  !b  bsh.Interpreter.UnaryExpressionNotPlusMinus()V (473 bytes)

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/0e09207fc81b
                                     
2010-08-14
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/0e09207fc81b
                                     
2010-08-05
EVALUATION

Address table for indirect branch is allocated in constant section but its size is not taking into account when constant section's size is defined. In other words, mach nodes for indirect branches miss const_size() method.

Address table is generated during mach nodes emition and they can't be allocated if there are no space left in code cache to resize constant section. Which causes this bug.
                                     
2010-08-04



Hardware and Software, Engineered to Work Together