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

Ioi Lam iklam at openjdk.org
Mon Feb 24 16:50:13 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23741/files
  - new: https://git.openjdk.org/jdk/pull/23741/files/19f627f9..67987dbb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23741&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23741&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23741.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23741/head:pull/23741

PR: https://git.openjdk.org/jdk/pull/23741


More information about the hotspot-runtime-dev mailing list