Integrated: 8369188: Update link-time check for HotSpot uses of allocation and deallocation functions
Kim Barrett
kbarrett at openjdk.org
Mon Nov 17 20:56:13 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.
This pull request has now been integrated.
Changeset: 6c09529c
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6c09529cd637a34c1ffc42a5feb71e8646be4237
Stats: 34 lines in 1 file changed: 32 ins; 0 del; 2 mod
8369188: Update link-time check for HotSpot uses of allocation and deallocation functions
Reviewed-by: jwaters, erikj
-------------
PR: https://git.openjdk.org/jdk/pull/28253
More information about the build-dev
mailing list