> Hi all, > > Could anyone help review this change that removes the cached static field > `java.lang.Class.reflectionFactory`? I believe the caching is no longer > necessary after https://bugs.openjdk.org/browse/JDK-8344011. > > This fixes the data race reported in > https://bugs.openjdk.org/browse/JDK-8386965. It also removes > `Class.resetArchivedStates()`, which simplifies AOT archive dumping. > > -Man > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Man Cao has updated the pull request incrementally with one additional commit since the last revision: Replace getReflectionFactory() with fully qualified name ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31591/files - new: https://git.openjdk.org/jdk/pull/31591/files/05eeabbf..e6a01981 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31591&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31591&range=01-02 Stats: 25 lines in 1 file changed: 3 ins; 2 del; 20 mod Patch: https://git.openjdk.org/jdk/pull/31591.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31591/head:pull/31591 PR: https://git.openjdk.org/jdk/pull/31591
