From dd8636908c6a604a9b191d7dcce8490fa8e3eb4d Mon Sep 17 00:00:00 2001 From: Alex Menkov Date: Tue, 19 Nov 2024 00:08:06 +0000 Subject: [PATCH] 8344262: Win32AttachOperationRequest objects are created by using global new Reviewed-by: jwaters, dholmes --- src/hotspot/os/windows/attachListener_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/os/windows/attachListener_windows.cpp b/src/hotspot/os/windows/attachListener_windows.cpp index 5a34639a1cf..fa45c98ced2 100644 --- a/src/hotspot/os/windows/attachListener_windows.cpp +++ b/src/hotspot/os/windows/attachListener_windows.cpp @@ -161,7 +161,7 @@ public: // Win32AttachOperationRequest is an element of AttachOperation request list. -class Win32AttachOperationRequest { +class Win32AttachOperationRequest: public CHeapObj { private: AttachAPIVersion _ver; char _name[AttachOperation::name_length_max + 1];