git: openjdk/jdk: master: 8369187: Add wrapper for <new> that forbids use of global allocation and deallocation functions

Kim Barrett kbarrett at openjdk.org
Wed Nov 19 20:57:56 UTC 2025


Changeset: f5bc6ee9
Branch: master
Author:    Kim Barrett <kbarrett at openjdk.org>
Date:      2025-11-19 20:56:21 +0000
URL:       https://git.openjdk.org/jdk/commit/f5bc6ee90d73da00cab5cad283b9517c692bc895

8369187: Add wrapper for <new> that forbids use of global allocation and deallocation functions

Reviewed-by: stefank, erikj, jrose

! make/hotspot/lib/CompileGtest.gmk
! src/hotspot/share/code/relocInfo.cpp
! src/hotspot/share/code/relocInfo.hpp
+ src/hotspot/share/cppstdlib/new.hpp
! src/hotspot/share/gc/shared/bufferNode.cpp
! src/hotspot/share/gc/shared/partialArrayState.cpp
! src/hotspot/share/gc/z/zDeferredConstructed.inline.hpp
! src/hotspot/share/memory/allocation.hpp
! src/hotspot/share/memory/arena.cpp
! src/hotspot/share/memory/arena.hpp
! src/hotspot/share/utilities/debug.cpp
! src/hotspot/share/utilities/deferredStatic.hpp
! src/hotspot/share/utilities/elfFile.cpp
! src/hotspot/share/utilities/globalDefinitions.hpp
! test/hotspot/gtest/utilities/test_lockFreeStack.cpp



More information about the jdk-changes mailing list