United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7085906 Replace the permgen allocated sentinelRef with a self-looped end
JDK-7085906 : Replace the permgen allocated sentinelRef with a self-looped end

Details
Type:
Enhancement
Submit Date:
2011-09-01
Status:
Closed
Updated Date:
2011-10-07
Project Name:
JDK
Resolved Date:
2011-09-30
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs22 (b05)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The reference processor uses the sentinelRef to mark the end of the lists of discovered References. All the collectors rely on the sentinelRef being allocated in the permgen, hence not moving. So, when permgen is removed this will not work.

We could probably make changes to the collectors to update all pointers to the sentinelRef, but the proposed solution is to remove the sentinelRef, and instead let the last Reference in a discovered chain point back to itself. Just like we do with the next field.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c2bf0120ee5d
                                     
2011-09-08
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together