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

Refactor GC barriers to use declarative semantics

    Details

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

      Description

      Today, GC barriers or BarrierSet are called explicitly around accesses that require specific barriers.
      It would be desirable if instead accesses are annotated with declarative semantics. Instead of calling different barriers on BarrierSet in different situations explicitly that makes sense for some GCs and not others, this new approach should declare what property makes the access special and let the API automatically generate the correct barriers.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Österlund
                Reporter:
                eosterlund Erik Österlund
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: