On Sat, 18 Feb 2023 01:55:52 GMT, Mandy Chung <mch...@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. Yes, please. I think that would be helpful. ------------- PR: https://git.openjdk.org/jdk/pull/12493