RFR: 8374807: Crash in MethodData::extra_data_lock()+0x0 when running -XX:+TraceDeoptimization -XX:-ProfileTraps -XX:-TieredCompilation -Xcomp -version [v4]

Vladimir Ivanov vlivanov at openjdk.org
Thu Jan 22 18:57:18 UTC 2026


On Thu, 22 Jan 2026 18:53:46 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Generally, it would also be nicer to extract a reproducer into a `test` method, and only compile that one. That way, the code shape leading to the crash is preserved. Would that be possible? Otherwise, we risk that someone changes the code shape (maybe in the core libs), and the test would not reproduce any more.
>
> I agree that `@requires vm.debug` is well justified here since it tests debug-only functionality. 
> 
> And `-XX:CompileCommand=compileonly,...` is a good improvement.

> Did you already run testing on this patch or should I run some?

@eme64 no, I haven't performed any testing yet.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29147#discussion_r2718179941


More information about the hotspot-compiler-dev mailing list