Summary
-------
Change "LockingMode" default value from LM_LEGACY to LM_LIGHTWEIGHT.
Problem
-------
The enhancement JDK-8291555 has introduced the experimental option "LockingMode" which improves performance in some scenarios.
The enhancement JDK-8315061 changed LockingMode into a product flag.
Now it is time to change the default from LM_LEGACY to LM_LIGHTWEIGHT
in order to make the benefits available by default.
Solution
--------
Change the default flag from LM_LEGACY to LM_LIGHTWEIGHT.
Specification
-------------
- product(int, LockingMode, LM_LEGACY, \
+ product(int, LockingMode, LM_LIGHTWEIGHT, \
"Select locking mode: " \
"0: monitors only (LM_MONITOR), " \
"1: monitors & legacy stack-locking (LM_LEGACY, default), " \
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT)") \
range(0, 2) \