< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 57232 : v2.00 -> v2.08 (CR8/v2.08/11-for-jdk14) patches combined into one; merge with jdk-14+25 snapshot; merge with jdk-14+26 snapshot.
rev 57233 : See CR8-to-CR9-changes; merge with 8230876.patch (2019.11.15); merge with jdk-14+25 snapshot; fuzzy merge with jdk-14+26 snapshot.

@@ -413,15 +413,15 @@
   // ObjectMonitor on which this thread called Object.wait()
   ObjectMonitor* _current_waiting_monitor;
 
   // Per-thread ObjectMonitor lists:
  public:
-  ObjectMonitor* volatile om_free_list;         // SLL of free ObjectMonitors
-  volatile int om_free_count;                   // # on om_free_list
+  ObjectMonitor* om_free_list;                  // SLL of free ObjectMonitors
+  int om_free_count;                            // # on om_free_list
   int om_free_provision;                        // # to try to allocate next
-  ObjectMonitor* volatile om_in_use_list;       // SLL of in-use ObjectMonitors
-  volatile int om_in_use_count;                 // # on om_in_use_list
+  ObjectMonitor* om_in_use_list;                // SLL of in-use ObjectMonitors
+  int om_in_use_count;                          // # on om_in_use_list
 
 #ifdef ASSERT
  private:
   volatile uint64_t _visited_for_critical_count;
 
< prev index next >