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

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.

主站蜘蛛池模板: 房山区| 平乡县| 许昌市| 宣城市| 友谊县| 安平县| 枞阳县| 安庆市| 邵阳县| 彰武县| 宽甸| 呈贡县| 上蔡县| 天津市| 深泽县| 石嘴山市| 新宁县| 高邑县| 公主岭市| 红原县| 延吉市| 长顺县| 文化| 孟州市| 吴旗县| 东辽县| 宁阳县| 德庆县| 山阳县| 城口县| 青河县| 怀安县| 佛山市| 沅江市| 兴安县| 沙坪坝区| 江城| 塔河县| 永济市| 房产| 西乡县|