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

Remove some unused code and subclasses in gcTaskManager.hpp/cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b89

        The classes ReleasingBarrierGCTask and NotifyingBarrierGCTask are never used. With these classes removed, WaitForBarrierGCTask is the only subclass of BarrierGCTask. Thus this intermediate step in the hierarchy can be removed.

        The NotifyDoneClosure is used as a field in GCTaskManager, but is always set to NULL.

        The statistics for NoopTasks is updated but never used.

        NoopTasks are always created on the C-heap. No need for the factory method and instance state to create them as resource objects.

              brutisso Bengt Rutisson (Inactive)
              brutisso Bengt Rutisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: