United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6834142 method->print_codes(): Error: ShouldNotReachHere()
6834142 : method->print_codes(): Error: ShouldNotReachHere()

Details
Type:
Bug
Submit Date:
2009-04-24
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs16

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
It is low priority since it is only debugging issue.

I got next failure when a method bytecode is printed:

% gamma jnt.scimark2.commandline
CompilerOracle: print jnt/scimark2/Random.nextDouble

#  Internal Error (src/share/vm/interpreter/bytecodeTracer.cpp:484), pid=4013, tid=1
#  Error: ShouldNotReachHere()

I think, it is because the next line was removed in 6655646 changes in
src/share/vm/interpreter/bytecodeTracer.cpp

 void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) {
   // Show attributes of pre-rewritten codes
-  code = Bytecodes::java_code(code);
   // If the code doesn't have any fields there's nothing to print.

Bytecode is:

[t@1 l@1]: print code
code = _fast_aaccess_0
[t@1 l@1]: print Bytecodes::java_code(code)
Bytecodes::java_code(code) = _aload_0

The code passed when I restored the line.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/3672e1dac765
                                     
2009-04-28



Hardware and Software, Engineered to Work Together