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

Remove some direct accesses of G1Allocator to G1CollectedHeap members

XMLWordPrintable

    • gc
    • b79

        G1Allocator::reuse_retained_old_region() directly accesses the _hr_printer and _old_set members of G1CollectedHeap instead of using the long available accessor methods.

        While this is allowed as G1Allocator is a friend of G1CollectedHeap it would be cleaner to just use these public members.

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

                Created:
                Updated:
                Resolved: