--- a/src/hotspot/share/runtime/thread.cpp Wed Aug 28 07:41:57 2019 -0700
+++ b/src/hotspot/share/runtime/thread.cpp Wed Aug 28 10:56:50 2019 -0400
@@ -259,11 +259,11 @@
_current_pending_monitor_is_from_java = true;
_current_waiting_monitor = NULL;
_num_nested_signal = 0;
- omFreeList = NULL;
- omFreeCount = 0;
- omFreeProvision = 32;
- omInUseList = NULL;
- omInUseCount = 0;
+ om_free_list = NULL;
+ om_free_count = 0;
+ om_free_provision = 32;
+ om_in_use_list = NULL;
+ om_in_use_count = 0;
#ifdef ASSERT
_visited_for_critical_count = false;
@@ -4414,8 +4414,8 @@
void Threads::remove(JavaThread* p, bool is_daemon) {
- // Reclaim the ObjectMonitors from the omInUseList and omFreeList of the moribund thread.
- ObjectSynchronizer::omFlush(p);
+ // Reclaim the ObjectMonitors from the om_in_use_list and om_free_list of the moribund thread.
+ ObjectSynchronizer::om_flush(p);
// Extra scope needed for Thread_lock, so we can check
// that we do not remove thread without safepoint code notice