Lazy-init thread safety problems in core reflection

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b42
    • generic
    • generic
    • Not verified

        We need to sprinkle volatile (or in future find some better way of doing lazy-init) over some fields in core reflection that appear to be accessed via a data race. This adds to the sprinkling of "final" in the same classes in JDK-8062771 and coordinates with related fixes to jdk7u and jdk8u

        Webrev: http://cr.openjdk.java.net/~martin/webrevs/openjdk9/core-reflection-volatile/

              Assignee:
              Martin Buchholz
              Reporter:
              Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: