8272114: Unused _last_state in osThread_windows

Reviewed-by: stuefe, dholmes
This commit is contained in:
Yi Yang 2021-09-22 02:20:30 +00:00
parent cbe57e8604
commit 11cddd3261

View File

@ -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();