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

Remove the static instance variable SharedHeap:: _sh

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b64

        SharedHeap kept a reference to the actual instance (of type GenCollectedHeap or G1CollectedHeap). This instance is stored both in Universe and in GenCollectedHeap or G1CollectedHeap too. Instead of code accessing the generic version SharedHeap::heap() we can make the code access the specific version in GenCollectedHeap::heap() or G1CollectedHeap::heap().

        This removes the need for storing the instance in SharedHeap too.

              brutisso Bengt Rutisson (Inactive)
              brutisso Bengt Rutisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: