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: 6689060
Votes 0
Synopsis Escape Analysis does not work with Compressed Oops
Category hotspot:compiler2
Reported Against
Release Fixed hs13(b01)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 15-APR-2008
Description
One of the issue. I will add others as I find.

% gamma -XX:+UseCompressedOops -XX:+DoEscapeAnalysis  Test_SR
VM option '+UseCompressedOops'
VM option '+DoEscapeAnalysis'
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/escape.cpp:117
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/net/jaberwocky.sfbay/export/home2/work2/hg/narwoop/src/share/vm/opto/escape.cpp:117), pid=8504, tid=20
#  Error: assert(f->node_type() != PointsToNode::UnknownType && t->node_type() != PointsToNode::UnknownType,"node types must be set")
#
# Java VM: OpenJDK 64-Bit Server VM (12.0-b02-internal-jvmg mixed mode solaris-amd64 compressed oops)
Posted Date : 2008-04-15 22:02:08.0
Work Around
N/A
Evaluation
Added missing lines in escape.cpp.

Scalar Replacement: Cast oop fields type to narrow before searching
values since values has narrow type. Used DecodeN to get wide oops for
debug info (I will optimize it later) and undo cast to narrow.
Added Value() method to EncodeP and DecodeN to avoid
the generation of encode/decode instructions for NULL.

Added not_null EncodeP DecodeN instructions into .ad files.
Fixed verify_oop stabs included debug messages to know where
a problem happened.

VerifyOops still failing with CO (even without EA and this changes).
Posted Date : 2008-04-23 23:17:34.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang