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

NonTearable marker interface for inline classes to enforce atomicity

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • 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:
                Unassigned
                Reporter:
                jrose John Rose
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: