NonTearable marker interface for inline classes to enforce atomicity

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: