Skip to content

Commit

Permalink
8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, rkennke, stefank
  • Loading branch information
Daniel D. Daugherty committed Sep 20, 2023
1 parent 9e00949 commit 455cfae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/runtime/globals.hpp
Expand Up @@ -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, \
Expand Down

1 comment on commit 455cfae

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.