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

Matthias Baesken mbaesken at openjdk.org
Wed Dec 4 08:16:46 UTC 2024


On Mon, 25 Nov 2024 13:56:20 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Seems we miss initialization of  _last_freeze_fail_result in the  JavaThread constructor, this should be added.
> Causes otherwise ubsan issues in the test  java/lang/Thread/virtual/MonitorEnterExit.java#Xcomp-TieredStopAtLevel1-LM_LEGACY 
> 
> /priv/jenkins/client-home/workspace/openjdk-jdk-weekly-linux_x86_64-opt/jdk/src/hotspot/share/runtime/javaThread.hpp:1241:52: runtime error: load of value 9831830, which is not a valid value for type 'freeze_result'
>     #0 0x7f5edef378eb in JavaThread::last_freeze_fail_result() src/hotspot/share/runtime/javaThread.hpp:1241
>     #1 0x7f5edef378eb in JVM_VirtualThreadPinnedEvent src/hotspot/share/prims/jvm.cpp:3805

This pull request has now been integrated.

Changeset: cf1eb58d
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf1eb58d6723ca3856687bf52167455eece2a260
Stats:     11 lines in 2 files changed: 9 ins; 0 del; 2 mod

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

Co-authored-by: Richard Reingruber <rrich at openjdk.org>
Reviewed-by: rrich, pchilanomate

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

PR: https://git.openjdk.org/jdk/pull/22361


More information about the hotspot-runtime-dev mailing list