Split ScanClosure and ScanClosureWithParBarrier

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • gc
    • b19

        ScanClosureWithParBarrier inherits from ScanClosure, and overrides the do_oop implementations in ScanClosure.

        ScanClosureWithParBarrier is the only ExtendedOopClosure that overrides the do_oop functions of a super class.

        I propose that we change so that ScanClosureWithParBarrier instead inherits from ScanClosure's super class. This allows for an interesting way to divirtualize our do_oop calls without the current specialized oops macros.

              Assignee:
              Stefan Karlsson
              Reporter:
              Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: