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

2024-06-12 Thread Chen Liang
ull/12493 they were not strongly tied, but I personally don't know about the details back then. Chen From: Prasad Velagapudi Sent: Wednesday, June 12, 2024 10:35 AM To: Chen Liang Subject: [External] : Re: Lambda Classes reachability from GC roots in JDK11 and JD

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

2024-06-12 Thread Chen Liang
From: Chen Liang Sent: Wednesday, June 12, 2024 10:22 AM To: Prasad Velagapudi Subject: Re: Lambda Classes reachability from GC roots in JDK11 and JDK17 Hello Prasad, I can confirm the first one is accurate for JDK 15 and later (see JEP 371: Hidden Classes

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

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

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