Details
-
Type:
CSR
-
Status: Closed
-
Priority:
P4
-
Resolution: Approved
-
Fix Version/s: 10
-
Component/s: hotspot
-
Labels:None
-
Subcomponent:
-
Compatibility Kind:behavioral
-
Compatibility Risk:minimal
-
Compatibility Risk Description:From the outside of VM internals there should be no noticeable different behavior when doing normal safepoints.
-
Interface Kind:add/remove/modify command line option
-
Scope:Implementation
Description
Summary
Introduce an option to control use of the new Thread-local handshake safepoint mechanism introduced by JEP 312.
Problem
JEP 312 introduces a new safepoint mechanism: Thread-local handshakes. To opt-out on supported platforms of using this new mechanism a new VM flag is required.
Solution
Add a new product option ThreadLocalHandshakes (default true) to allow users to select the new safepoint mechanism.
Specification
Complete code is at: http://cr.openjdk.java.net/~rehn/8185640/
+ product_pd(bool, ThreadLocalHandshakes, \
+ "Use thread-local polls instead of global poll for safepoints.") \
+ constraint(ThreadLocalHandshakesConstraintFunc,AfterErgo) \
+ \
Attachments
Issue Links
- csr of
-
JDK-8189941 Implementation JEP 312: Thread-local handshake
-
- Resolved
-
- relates to
-
JDK-8185640 JEP 312: Thread-Local Handshakes
-
- Closed
-