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

Use @Stable for generic repositories

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      The generic repositories in sun.reflect.generics.repository, the scope, and their usages are often lazy initializations, and are good candidates for @Stable.

      The repository usages that are potentially not thread-safe (in Method, Field, RecordComponent) will be updated to be thread-safe.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: