RFR: 8354330: [leyden] Crash inside AdapterHandlerEntry::metaspace_pointers_do
Vladimir Kozlov
kvn at openjdk.org
Sat Apr 12 20:01:34 UTC 2025
On Sat, 12 Apr 2025 18:40:54 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> The crash happens when a `SpeculativeTrapData` points to a `Method` that belongs to an excluded class. In this particular case, the `Method` is `java.lang.invoke.LambdaForm$MH/0x800000034.invoke(java.lang.Object, java.lang.Object)` and the holder class (a hidden class) is excluded from the binary AOT config file.
>
> Te fix is to call `MethodData::clean_method_data(true)` on all archived `MethodData`. I had to adjust the rank of `MethodData::extra_data_lock()` to be lower than `DumpTimeTable_lock`.
Good
-------------
Marked as reviewed by kvn (Committer).
PR Review: https://git.openjdk.org/leyden/pull/56#pullrequestreview-2762244985
More information about the leyden-dev
mailing list