JDK-7104177 : Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7u4
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-10-24
  • Updated: 2012-03-22
  • Resolved: 2012-01-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
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 http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/34535d2cb362
22-03-2012

EVALUATION See main CR
30-11-2011

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

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

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

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.
26-10-2011