RFR: 8349888: AOTMode=create crashes with EpsilonGC [v2]

Vladimir Kozlov kvn at openjdk.org
Mon Feb 24 23:50:54 UTC 2025


On Mon, 24 Feb 2025 16:50:13 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> During AOT cache assembly, some classes may become excluded for various reasons. In the bug report, we have a class that was excluded because it wasn't loaded from a JAR file.
>> 
>> When AOT-resolving lambda call sites, we already exclude all sites that **refer** to excluded classes. However, we didn't exclude class sites that **live in** an excluded class. This PR fixes that.
>> 
>> This bug only affects EpsilonGC, which doesn't perform any collection. It doesn't affect other "real" collectors. Please see JBS issue for details.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @shipilev comments - explicitly set memory size to avoid premature failure

Marked as reviewed by kvn (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/23741#pullrequestreview-2638726173


More information about the hotspot-runtime-dev mailing list