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

Add verification support for @Stable into VM

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • hs25, 9, 10
    • hotspot

      Consider adding verification of stable property for fields into VM.
      @Stable means that all component variables of an annotated field changes value at most once.
      It means that only (0/NULL) => (non-0/non-NULL) transitions are allowed for all components of a stable field.

      There's a prototype implementation for template interpreter (for x86-64, primitive or reference fields are only supported): http://cr.openjdk.java.net/~vlivanov/8001107/assert.00/
       

            Unassigned Unassigned
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: