On Fri, 19 Jun 2026 08:51:35 GMT, Man Cao <[email protected]> wrote: > 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).
This pull request has now been integrated. Changeset: 41c33daf Author: Man Cao <[email protected]> URL: https://git.openjdk.org/jdk/commit/41c33dafd51c89a2e28f276213d2289e0405fd3c Stats: 63 lines in 3 files changed: 3 ins; 37 del; 23 mod 8386965: Data race on java.lang.Class.reflectionFactory field Reviewed-by: liach, alanb, iklam ------------- PR: https://git.openjdk.org/jdk/pull/31591
