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

Make G1 code use _g1h members

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 11
    • 11
    • hotspot
    • gc
    • b11

      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".

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

              Created:
              Updated:
              Resolved: