On Tue, 15 Sep 2026 17:08:29 GMT, Dan Heidinga <[email protected]> wrote:
> [Picking up and finishing off https://github.com/openjdk/jdk/pull/32519 for > Coleen] > > 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). This pull request has now been integrated. Changeset: ecadb8ff Author: Dan Heidinga <[email protected]> Committer: Serguei Spitsyn <[email protected]> URL: https://git.openjdk.org/jdk/commit/ecadb8fff3030b9b82214eae17d5011bf4991593 Stats: 454 lines in 11 files changed: 398 ins; 42 del; 14 mod 8391308: Remove ClassLoader.classes vector and addClass call Co-authored-by: Coleen Phillimore <[email protected]> Reviewed-by: dholmes, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/32890
