git: openjdk/jdk: master: 8300080: offset_of for GCC/Clang exhibits undefined behavior and is not always a compile-time constant

Kim Barrett kbarrett at openjdk.org
Thu Sep 4 05:43:04 UTC 2025


Changeset: 62bc7b7c
Branch: master
Author:    Kim Barrett <kbarrett at openjdk.org>
Date:      2025-09-04 05:42:18 +0000
URL:       https://git.openjdk.org/jdk/commit/62bc7b7c4247a62c23ea93cd960c3c0434925c49

8300080: offset_of for GCC/Clang exhibits undefined behavior and is not always a compile-time constant

Reviewed-by: stefank, jsjolen

! make/hotspot/lib/CompileJvm.gmk
! src/hotspot/share/utilities/globalDefinitions.hpp
! src/hotspot/share/utilities/globalDefinitions_gcc.hpp
! src/hotspot/share/utilities/globalDefinitions_visCPP.hpp



More information about the jdk-changes mailing list