On Tue, 25 Aug 2026 11:57:50 GMT, Coleen Phillimore <[email protected]> wrote:
> Remove the upcall to addClass during class loading. The comment says it's > only so GC can keep classes alive while the class loader is alive. We have > other ways to do that. There were some JVMTI tests in the past that failed > without this vector but today seems to be only one test. Maybe there's some > code that has a dependency on this in heap walking. > Tested tier1-6 > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). `loaderConstraints.cpp` and the two Java files can get a copyright year update. Otherwise the Java code change looks good. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32519#issuecomment-5445690105
