Hotspot uses 40+ global mutexes and monitors. All of which are dynamically allocated on the C heap during startup. They are quite large and live for the lifetime of the process. These can be statically allocated instead of dynamically allocated.
- relates to
-
JDK-8304738 UnregisteredClassesTable_lock never created
-
- Resolved
-