RFR: 8344935: [ubsan]: javaThread.hpp:1241:52: runtime error: load of value 9831830, which is not a valid value for type 'freeze_result' [v4]

Alan Bateman alanb at openjdk.org
Tue Dec 3 11:33:39 UTC 2024


On Mon, 2 Dec 2024 21:14:55 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> I see. Thanks for making us aware.
>
> This is the complete diff when everything related to the preempt case is reverted again: https://github.com/reinrich/jdk/compare/e29b0edc9739801c8371ac601a466428916d60b4...ce3ddf652a92674c48a061a44636c702c05a35db
> 
> @MBaesken could you please check and apply this commit to do the reverting https://github.com/reinrich/jdk/commit/ce3ddf652a92674c48a061a44636c702c05a35db if you're ok with it?

The JFR event support changed a bit near the end so looks like this slipped through. For the non-preempt cases, the _last_freeze_fail_XXX values must be set so that the later call to record an event has the last reason/time. So I think the change look good. I see the failure was in legacy mode so more likely to run into this.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22361#discussion_r1867551665


More information about the hotspot-runtime-dev mailing list