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

Remove duplicate variables holding the CollectedHeap

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b64
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Universe::_collectedHeap points to the current CollectedHeap. However, collectors also have their own static instances for no real good reason. Remove all but the Universe::_collectedHeap and let users call Universe::heap() where needed.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pliden Per Liden
                  Reporter:
                  pliden Per Liden
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: