RFR: 8369188: Update link-time check for HotSpot uses of allocation and deallocation functions
Erik Joelsson
erikj at openjdk.org
Mon Nov 17 19:30:04 UTC 2025
On Wed, 12 Nov 2025 07:07:48 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> 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.
Marked as reviewed by erikj (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28253#pullrequestreview-3474247527
More information about the build-dev
mailing list