From 11cddd3261e2bfaa4f2b9142ce9e275bbc48c72e Mon Sep 17 00:00:00 2001 From: Yi Yang Date: Wed, 22 Sep 2021 02:20:30 +0000 Subject: [PATCH] 8272114: Unused _last_state in osThread_windows Reviewed-by: stuefe, dholmes --- src/hotspot/os/windows/osThread_windows.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hotspot/os/windows/osThread_windows.hpp b/src/hotspot/os/windows/osThread_windows.hpp index 88dedaffe3e..74b50100663 100644 --- a/src/hotspot/os/windows/osThread_windows.hpp +++ b/src/hotspot/os/windows/osThread_windows.hpp @@ -34,7 +34,6 @@ HANDLE _thread_handle; // Win32 thread handle HANDLE _interrupt_event; // Event signalled on thread interrupt for use by // Process.waitFor(). - ThreadState _last_state; public: // The following will only apply in the Win32 implementation, and should only @@ -58,12 +57,6 @@ } #endif // ASSERT - // This is a temporary fix for the thread states during - // suspend/resume until we throw away OSThread completely. - // NEEDS_CLEANUP - void set_last_state(ThreadState state) { _last_state = state; } - ThreadState get_last_state() { return _last_state; } - private: void pd_initialize(); void pd_destroy();