RFR: 8349888: AOTMode=create crashes with EpsilonGC

Ioi Lam iklam at openjdk.org
Wed Feb 12 17:57:11 UTC 2025


On Wed, 12 Feb 2025 09:58:46 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Reliably reproduces in current mainline, see the bug for reproducer. I think we are crashing after feeding `nullptr` to `class_category_name`. That `nullptr` is from `ArchiveBuilder::current()->get_buffered_addr` of `HelloStream`, which is skipped, as per warning message right before the crash. 
> 
> So it looks like the fix is to check if we are dealing with class that is available in the buffer before reaching for its buffered address. @iklam, see if this is a right fix?
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, reproducer now passes
>  - [x] Linux x86_64 server fastdebug, `runtime/cds` passes

@shipilev do you want me to take over this bug?

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

PR Comment: https://git.openjdk.org/jdk/pull/23581#issuecomment-2654457781


More information about the hotspot-runtime-dev mailing list