Details
Description
The type GlobalCounter::CSContext (added by JDK-8212827) is presently a typedef for the underlying uintx type. That doesn't give much type safety though. Better would be to use a C++11 enum class, once those are available for use in HotSpot code, e.g. replace the typedef with
enum class CSContext : uintx {};
enum class CSContext : uintx {};
Attachments
Issue Links
- is blocked by
-
JDK-8208089 JEP 347: Enable C++14 Language Features
-
- Closed
-
- relates to
-
JDK-8212827 GlobalCounter should support nested critical sections
-
- Resolved
-