Skip to content

Commit

Permalink
8272114: Unused _last_state in osThread_windows
Browse files Browse the repository at this point in the history
Reviewed-by: stuefe, dholmes
  • Loading branch information
y1yang0 committed Sep 22, 2021
1 parent cbe57e8 commit 11cddd3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/hotspot/os/windows/osThread_windows.hpp
Expand Up @@ -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
Expand All @@ -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();
Expand Down

1 comment on commit 11cddd3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.