Re: Lambda Classes reachability from GC roots in JDK11 and JDK17

2024-06-12 Thread Prasad Velagapudi
A gentle reminder on these questions… Could you please respond? Regards, Prasad. From: Prasad Velagapudi Date: Thursday, 6 June 2024 at 8:10 PM To: core-libs-dev@openjdk.org Subject: Lambda Classes reachability from GC roots in JDK11 and JDK17 Hello Lambda Experts, I am looking for

Lambda Classes reachability from GC roots in JDK11 and JDK17

2024-06-06 Thread Prasad Velagapudi
Hello Lambda Experts, I am looking for clarifications on the following questions. 1. I observed in my tests that lambda classes generated for inline lambda expressions (ex: LambdaUtil::print), are STRONGLY linked to defining class loader and never gets collected on GC. This behaviour is sam

Lambda Classes reachability from GC roots in JDK11 and JDK17

2024-06-06 Thread Prasad Velagapudi
Hello Lambda Experts, I am looking for clarifications on the following questions. 1. I observed in my tests that lambda classes generated for inline lambda expressions (ex: LambdaUtil::print), are STRONGLY linked to defining class loader and never gets collected on GC. This behaviour is sa