mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-18 17:37:53 +00:00
8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Reviewed-by: dholmes, rkennke, stefank
This commit is contained in:
parent
9e00949a26
commit
455cfae1e1
@ -1986,11 +1986,11 @@ const int ObjectAlignmentInBytes = 8;
|
||||
"Mark all threads after a safepoint, and clear on a modify " \
|
||||
"fence. Add cleanliness checks.") \
|
||||
\
|
||||
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)") \
|
||||
"1: monitors & legacy stack-locking (LM_LEGACY), " \
|
||||
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT, default)") \
|
||||
range(0, 2) \
|
||||
\
|
||||
product(uint, TrimNativeHeapInterval, 0, EXPERIMENTAL, \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user