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

Merge FilteringDCTOC into ContiguousSpaceDCTOC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • gc
    • b27

      In `src/hotspot/share/gc/shared/space.hpp`:

      ```
      class FilteringDCTOC : public DirtyCardToOopClosure {

      class ContiguousSpaceDCTOC : public FilteringDCTOC {
      ```

      `FilteringDCTOC` has only a single subclass. One can merge super/sub class and some virtual methods would become non-virtual.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: