United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7104177 Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
JDK-7104177 : Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation

Details
Type:
Bug
Submit Date:
2011-10-24
Status:
Closed
Updated Date:
2012-03-22
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
hs23 (b06)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Here is the log
java  -XX:+PrintCanonicalization -XX:+TieredCompilation
VM option '+PrintCanonicalization'
VM option '+TieredCompilation'
. 28   0    i19    a16.invokevirtual()
                   java/io/InputStream.read()I
  68   0    i37    0
  # To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/c1_Instruction.hpp:393
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P1/225601.jcoomes/source/src/share/vm/c1/c1_Instruction.hpp:393), pid=32662, tid=2881485712
#  assert(has_printable_bci()) failed: _printable_bci should have been set
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Server VM (23.0-b03-internal-201110212256.jcoomes.hs23-b03-jdk7u4-fastdebug mixed mode linux-x86 )
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /import/gtee/hs_err_pid32662.log

                                    

Comments
EVALUATION

C1 fills printable_bci when attaching an instruction to a basic block, but canonicalization happens before that. We need to initialize it for proper printing of the canonicalized instruction.
                                     
2011-10-26
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/34535d2cb362
                                     
2011-10-28
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/34535d2cb362
                                     
2011-11-15
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/34535d2cb362
                                     
2011-11-29
EVALUATION

See main CR
                                     
2011-11-30
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/34535d2cb362
                                     
2012-03-22



Hardware and Software, Engineered to Work Together