RFR: 8342823: Ubsan: ciEnv.cpp:1614:65: runtime error: member call on null pointer of type 'struct CompileTask' [v2]

Matthias Baesken mbaesken at openjdk.org
Mon Oct 28 15:36:51 UTC 2024


On Fri, 25 Oct 2024 18:26:06 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> I think we should do the check in `VMError::report_and_die()` to avoid creating empty replay file. Note, `dump_replay_data_unsafe()` is called only in that one place. An other path through `dump_replay_data()` call required Compilation ID which is set only when we have task. We can use assert instead of check in `ciEnv::dump_replay_data_helper()`.

I moved the check and added an assert .

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

PR Comment: https://git.openjdk.org/jdk/pull/21684#issuecomment-2441923400


More information about the hotspot-compiler-dev mailing list