MonitorInUseLists (i.e. thread-local monitor lists vs. global monitor lists) has been implemented since JDK8, and defaults to true since JDK9. Since there's no disadvantage to thread-local monitor lists over global monitor lists, and in fact, iteration and inflation/deflation is usually more efficient with thread-local lists, this flag should be deprecated in jdk10.
- csr for
-
JDK-8180929 Deprecate -XX:+/-MonitorInUseLists option
-
- Closed
-
- relates to
-
JDK-8211384 Obsolete -XX:+/-MonitorInUseLists option
-
- Resolved
-