RFR: 8377665: JFR: Symbol table not setup for early class unloading [v2]
Markus Grönlund
mgronlun at openjdk.org
Thu Feb 12 11:21:50 UTC 2026
On Thu, 12 Feb 2026 08:49:21 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
>
> Joel Sikström has updated the pull request incrementally with one additional commit since the last revision:
>
> Markus _initial_type_set feedback
Please hold of integration on this yet, we get a failure in test jdk/jfr/jvm/TestCreateNative.java (it tries to create and recreate JFR multiple times).
Its good to run through all the JFR tests:
open/test/jdk/:jdk_jfr
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29672#issuecomment-3890292936
PR Comment: https://git.openjdk.org/jdk/pull/29672#issuecomment-3890299739
More information about the hotspot-jfr-dev
mailing list