- Java 11 and 12:New Features
- Mala Gupta
- 98字
- 2021-07-02 12:27:07
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.
推薦閱讀
- Kali Linux Web Penetration Testing Cookbook
- GeoServer Cookbook
- 零起步玩轉掌控板與Mind+
- Raspberry Pi for Secret Agents(Third Edition)
- Visual Basic程序設計與應用實踐教程
- INSTANT OpenNMS Starter
- Python深度學習:基于TensorFlow
- PySide 6/PyQt 6快速開發與實戰
- 深入淺出React和Redux
- ServiceNow:Building Powerful Workflows
- Android應用開發深入學習實錄
- 區塊鏈架構之美:從比特幣、以太坊、超級賬本看區塊鏈架構設計
- Mastering HTML5 Forms
- PowerDesigner 16 從入門到精通
- Mastering ASP.NET Core 2.0