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];