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.

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/hs/rev/fb0275c320a0
          User: eosterlund
          Date: 2017-11-20 12:56:59 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/hs/rev/fb0275c320a0 User: eosterlund Date: 2017-11-20 12:56:59 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/jdk/rev/fb0275c320a0
          User: jwilhelm
          Date: 2017-11-30 06:07:04 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk/rev/fb0275c320a0 User: jwilhelm Date: 2017-11-30 06:07:04 +0000

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: