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

Split ScanClosure and ScanClosureWithParBarrier

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b19

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: