--- a/src/hotspot/os/windows/threadCritical_windows.cpp Mon Sep 25 14:23:18 2017 -0700
+++ b/src/hotspot/os/windows/threadCritical_windows.cpp Mon Sep 25 21:25:46 2017 -0400
@@ -51,16 +51,6 @@
// and found them ~30 times slower than the critical region code.
//
-void ThreadCritical::initialize() {
-}
-
-void ThreadCritical::release() {
- assert(lock_owner == -1, "Mutex being deleted while owned.");
- assert(lock_count == -1, "Mutex being deleted while recursively locked");
- assert(lock_event != NULL, "Sanity check");
- CloseHandle(lock_event);
-}
-
ThreadCritical::ThreadCritical() {
DWORD current_thread = GetCurrentThreadId();