官术网_书友最值得收藏!

Thread-local handshakes

Suppose that you need to pause a particular thread, executing a callback on it. Prior to thread-local handshakes, there wasn't any way to do that. The norm was to perform a global VM safepoint, which pauses all of the executing threads (and what a waste that is, if you meant to pause only one thread). With thread-local handshakes, it is possible to stop individual threads.

By aiming to reduce global VM safepoints, thread-local handshakes will reduce JVM latency and improve its efficiency.

Thread-local handshakes are a JVM implementation feature that can't be used directly by developers.

主站蜘蛛池模板: 云林县| 于都县| 博乐市| 黄大仙区| 长春市| 昌宁县| 定安县| 临朐县| 银川市| 邳州市| 泾源县| 明溪县| 元谋县| 西青区| 南开区| 北票市| 龙山县| 垦利县| 温宿县| 光山县| 霍城县| 平湖市| 台中县| 舒城县| 上虞市| 班玛县| 迁安市| 两当县| 安塞县| 玉环县| 疏勒县| 垣曲县| 上犹县| 枝江市| 长寿区| 宁远县| 台南市| 启东市| 突泉县| 台北市| 鄢陵县|