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

Make G1 code use _g1h members

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b11

      Description

      G1 classes often have a _g1h member to store a reference to G1CollectedHeap::heap() for convenience.

      Some code, in addition to that member, still explicitly refers to G1CollectedHeap::heap(). Fix the code to use the member variable instead.

      Also look that code uses g1h instead of "_g1" or "g1".

        Attachments

          Activity

            People

            • Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              tschatzl Thomas Schatzl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: