RFR: 8369188: Update link-time check for HotSpot uses of allocation and deallocation functions
Julian Waters
jwaters at openjdk.org
Wed Nov 12 13:50:05 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.
Looks good to me
-------------
Marked as reviewed by jwaters (Committer).
PR Review: https://git.openjdk.org/jdk/pull/28253#pullrequestreview-3453544361
More information about the build-dev
mailing list