Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7085906

Replace the permgen allocated sentinelRef with a self-looped end

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs22
    • Fix Version/s: hs22
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefank Stefan Karlsson
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: