< prev index next >

src/hotspot/share/runtime/synchronizer.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.

*** 141,158 **** static void deflate_thread_local_monitors(Thread* thread, DeflateMonitorCounters* counters); static void prepare_deflate_idle_monitors(DeflateMonitorCounters* counters); static void finish_deflate_idle_monitors(DeflateMonitorCounters* counters); // For a given monitor list: global or per-thread, deflate idle monitors ! static int deflate_monitor_list(ObjectMonitor* volatile * list_p, ! int volatile * count_p, ObjectMonitor** free_head_p, ObjectMonitor** free_tail_p); // For a given in-use monitor list: global or per-thread, deflate idle // monitors using a JavaThread. ! static int deflate_monitor_list_using_JT(ObjectMonitor* volatile * list_p, ! int volatile * count_p, ObjectMonitor** free_head_p, ObjectMonitor** free_tail_p, ObjectMonitor** saved_mid_in_use_p); static bool deflate_monitor(ObjectMonitor* mid, oop obj, ObjectMonitor** free_head_p, --- 141,158 ---- static void deflate_thread_local_monitors(Thread* thread, DeflateMonitorCounters* counters); static void prepare_deflate_idle_monitors(DeflateMonitorCounters* counters); static void finish_deflate_idle_monitors(DeflateMonitorCounters* counters); // For a given monitor list: global or per-thread, deflate idle monitors ! static int deflate_monitor_list(ObjectMonitor** list_p, ! int* count_p, ObjectMonitor** free_head_p, ObjectMonitor** free_tail_p); // For a given in-use monitor list: global or per-thread, deflate idle // monitors using a JavaThread. ! static int deflate_monitor_list_using_JT(ObjectMonitor** list_p, ! int* count_p, ObjectMonitor** free_head_p, ObjectMonitor** free_tail_p, ObjectMonitor** saved_mid_in_use_p); static bool deflate_monitor(ObjectMonitor* mid, oop obj, ObjectMonitor** free_head_p,
*** 199,209 **** private: friend class SynchronizerTest; enum { _BLOCKSIZE = 128 }; // global list of blocks of monitors ! static PaddedObjectMonitor* volatile g_block_list; static volatile bool _is_async_deflation_requested; static volatile bool _is_special_deflation_requested; static jlong _last_async_deflation_time_ns; // Function to prepend new blocks to the appropriate lists: --- 199,209 ---- private: friend class SynchronizerTest; enum { _BLOCKSIZE = 128 }; // global list of blocks of monitors ! static PaddedObjectMonitor* g_block_list; static volatile bool _is_async_deflation_requested; static volatile bool _is_special_deflation_requested; static jlong _last_async_deflation_time_ns; // Function to prepend new blocks to the appropriate lists:
< prev index next >