-
Bug
-
Resolution: Fixed
-
P3
-
19
-
b26
Windows 32-bit, Visual Studio 2022, build issue since the integration of JEP 424 + follow other changes.
[2022-05-28T14:46:39,915Z] t:\workspace\open\src\hotspot\share\code\codeBlob.cpp(753): error C2956: usual deallocation function 'void operator delete(void *,size_t) throw()' would be chosen as placement deallocation function.
[2022-05-28T14:46:39,915Z] predefined C++ types (compiler internal)(44): note: see declaration of 'operator delete'
[2022-05-28T14:46:39,931Z] lib/CompileJvm.gmk:146: recipe for target '/cygdrive/t/workspace/build/windows-x86/hotspot/variant-server/libjvm/objs/codeBlob.obj' failed
[2022-05-28T14:46:39,931Z] make[3]: *** [/cygdrive/t/workspace/build/windows-x86/hotspot/variant-server/libjvm/objs/codeBlob.obj] Error 1
[2022-05-28T14:46:39,931Z] make[3]: *** Waiting for unfinished jobs....
Several blobs already use this workaround:
diff --git a/src/hotspot/share/code/codeBlob.hpp b/src/hotspot/share/code/codeBlob.hpp
index 38051bf325b..16a44ac49f1 100644
--- a/src/hotspot/share/code/codeBlob.hpp
+++ b/src/hotspot/share/code/codeBlob.hpp
@@ -767,6 +767,7 @@ class UpcallStub: public RuntimeBlob {
intptr_t exception_handler_offset,
jobject receiver, ByteSize frame_data_offset);
+ void operator delete(void* p);
void* operator new(size_t s, unsigned size) throw();
struct FrameData {
[2022-05-28T14:46:39,915Z] t:\workspace\open\src\hotspot\share\code\codeBlob.cpp(753): error C2956: usual deallocation function 'void operator delete(void *,size_t) throw()' would be chosen as placement deallocation function.
[2022-05-28T14:46:39,915Z] predefined C++ types (compiler internal)(44): note: see declaration of 'operator delete'
[2022-05-28T14:46:39,931Z] lib/CompileJvm.gmk:146: recipe for target '/cygdrive/t/workspace/build/windows-x86/hotspot/variant-server/libjvm/objs/codeBlob.obj' failed
[2022-05-28T14:46:39,931Z] make[3]: *** [/cygdrive/t/workspace/build/windows-x86/hotspot/variant-server/libjvm/objs/codeBlob.obj] Error 1
[2022-05-28T14:46:39,931Z] make[3]: *** Waiting for unfinished jobs....
Several blobs already use this workaround:
diff --git a/src/hotspot/share/code/codeBlob.hpp b/src/hotspot/share/code/codeBlob.hpp
index 38051bf325b..16a44ac49f1 100644
--- a/src/hotspot/share/code/codeBlob.hpp
+++ b/src/hotspot/share/code/codeBlob.hpp
@@ -767,6 +767,7 @@ class UpcallStub: public RuntimeBlob {
intptr_t exception_handler_offset,
jobject receiver, ByteSize frame_data_offset);
+ void operator delete(void* p);
void* operator new(size_t s, unsigned size) throw();
struct FrameData {
- duplicates
-
JDK-8288049 Win32 build failed
- Closed
- relates to
-
JDK-8210803 Compilation failure in codeBlob.cpp for Windows 32-bit
- Resolved
-
JDK-8196880 VS2017 Addition of Global Delete Operator with Size Parameter Conflicts with Arena's Chunk Provided One
- Closed
-
JDK-8283689 Update the foreign linker VM implementation
- Resolved
(1 links to)