On Fri, 17 Feb 2023 20:01:08 GMT, Volker Simonis <simo...@openjdk.org> wrote:
> Finally, the PR fixes a regression compared to the JDK 11 behavior. This is an intended change that improves the C heap memory usage. In addition, the spec of `LambdaMetafactory` has no guarantee of the spinned classes be unloaded independent of it defining loader. This is indeed a behavioral change if `LambdaMetafactory` API is called directly instead of via `invokedynamic`. I can create a CSR to retrofit this behavioral change. ------------- PR: https://git.openjdk.org/jdk/pull/12493