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

NonTearable marker interface for inline classes to enforce atomicity

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • repo-valhalla
    • repo-valhalla
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: