Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6834142
Votes 0
Synopsis method->print_codes(): Error: ShouldNotReachHere()
Category hotspot:compiler2
Reported Against
Release Fixed hs16(b02), 7(b57) (Bug ID:2177425) , 6u18(b01) (Bug ID:2182313)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6655646
Submit Date 24-APR-2009
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:

[  xxxxx@xxxxx     xxxxx@xxxxx  ]: print code
code = _fast_aaccess_0
[  xxxxx@xxxxx     xxxxx@xxxxx  ]: print Bytecodes::java_code(code)
Bytecodes::java_code(code) = _aload_0

The code passed when I restored the line.
Posted Date : 2009-04-24 22:42:38.0
Work Around
N/A
Evaluation
http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/3672e1dac765
Posted Date : 2009-04-28 01:35:06.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang