RFR: 8369188: Update link-time check for HotSpot uses of allocation and deallocation functions
Kim Barrett
kbarrett at openjdk.org
Wed Nov 12 08:45:34 UTC 2025
Please review this update to the gcc/clang link-time check to prevent HotSpot
code from using the C++ global allocator. A number of overloads for allocation
and deallocation functions have been added since C++03 and were missing from
the list being checked for.
Testing: mach5 tier1, GHA sanity tests (in progress)
Locally (linux-aarch64) added uses of some of these functions and verified
they caused the expected link-time failures. Manually verified applying
c++filt to all the names in the updated list demangle to the expected function
names.
-------------
Commit messages:
- update mangled name list
Changes: https://git.openjdk.org/jdk/pull/28253/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28253&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8369188
Stats: 34 lines in 1 file changed: 32 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28253.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28253/head:pull/28253
PR: https://git.openjdk.org/jdk/pull/28253
More information about the build-dev
mailing list