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

NonTearable marker interface for inline classes to enforce atomicity

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:
      None

      Description

      Define a new marker interface java.lang.NonTearable which instruction the JVM to enforce atomicity of all instances (in the heap) of the given inline class.

      Any inline class that implements this interface (directly or indirectly) is protected by the JVM from structure tearing, even if this costs some performance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jrose John Rose
              Reporter:
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: