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

Generational ZGC: Remove the unnecessary friend classes in ZAllocator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 23
    • 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;
      ```

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

              Created:
              Updated:
              Resolved: