RFR: 8377665: JFR: Symbol table not setup for early class unloading

Erik Österlund eosterlund at openjdk.org
Wed Feb 11 16:32:44 UTC 2026


On Wed, 11 Feb 2026 12:31:24 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:

> Hello,
> 
> We observe a crash when running a major GC very early, which unloads classes, calling into JFR which is not properly set up for class unloading this early. A simple fix for this is to move the creation of the symbol table to the early setup of JFR, which allows us to successfully call `JfrCheckpointManager::on_unloading_classes()`.
> 
> Testing:
>  * Crash reproducer no longer crashes
>  * Running through Oracle's tier1-4

Looks good!

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29672#pullrequestreview-3785901022


More information about the hotspot-jfr-dev mailing list