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

NonTearable marker interface for inline classes to enforce atomicity

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • hotspot
    • None

      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.

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

              Created:
              Updated:
              Resolved: