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

Lazy-init thread safety problems in core reflection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • 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/

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

                Created:
                Updated:
                Resolved: