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

Make G1 code use _g1h members

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 11
    • 11
    • hotspot
    • gc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: