Generational ZGC: Remove the unnecessary friend classes in ZAllocator

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b17

      The three friend classes below in `ZAllocator` are unnecessary. And actually, the `ZAllocatorSurvivor` and `ZAllocatorOld` don't exist.

      ```
      // ZAllocator.hpp
        friend class ZAllocatorEden;
        friend class ZAllocatorSurvivor;
        friend class ZAllocatorOld;
      ```

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: