United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7048030 is_scavengable changes causing compiler to embed more constants
JDK-7048030 : is_scavengable changes causing compiler to embed more constants

Details
Type:
Bug
Submit Date:
2011-05-24
Status:
Closed
Updated Date:
2011-08-02
Project Name:
JDK
Resolved Date:
2011-06-09
Component:
hotspot
OS:
generic,solaris_10
Sub-Component:
compiler
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b15)

Related Reports
Backport:
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
The fix for 7041789 corrected the meaning of is_scavengable to really mean what it says.  Unfortunately there were some places that were really using the change as a proxy for !is_perm.  in particular in ciObject::can_be_constant and should_be_constant we will now embed constants that we didn't used as long as they are in tenured.  The code should be changed from !is_scavengable to is_perm.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/28a9fe9534ea
                                     
2011-05-25
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/28a9fe9534ea
                                     
2011-05-28
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/28a9fe9534ea
                                     
2011-06-03
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/28a9fe9534ea
                                     
2011-06-09



Hardware and Software, Engineered to Work Together