United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6873116 Modify reexecute implementation to use pcDesc to record the reexecute bit
JDK-6873116 : Modify reexecute implementation to use pcDesc to record the reexecute bit

Details
Type:
Bug
Submit Date:
2009-08-18
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2009-09-16
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs17 (b01)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Currently we use DebugInfoWriteStream/DebugInfoReadStream to record the reexecute bit by compress the reexecute bit
into bci. This makes the code look weird :
read_bci_and_reexecute(bool& reexecute);
write_bci_and_reexecute(int bci, bool reexecute);
It also makes the future addition of debuginfo difficult.

We can use pcDesc to record the reexecute bit, and then map it scopeDesc when a scopeDesc object is created.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/72088be4b386
                                     
2009-08-20



Hardware and Software, Engineered to Work Together