RFR: 8354330: [leyden] Crash inside AdapterHandlerEntry::metaspace_pointers_do

Ioi Lam iklam at openjdk.org
Mon Apr 14 19:07:14 UTC 2025


On Sat, 12 Apr 2025 19:58:32 GMT, Vladimir Kozlov <kvn 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

Thanks @vnkozlov for the review

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

PR Comment: https://git.openjdk.org/leyden/pull/56#issuecomment-2802701568


More information about the leyden-dev mailing list