Skip to content

Commit

Permalink
8319253: [BACKOUT] Change LockingMode default from LM_LEGACY to LM_LI…
Browse files Browse the repository at this point in the history
…GHTWEIGHT

Reviewed-by: stuefe, shade, stefank, dcubed
  • Loading branch information
David Holmes committed Nov 8, 2023
1 parent c137b17 commit f4ab952
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/runtime/globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1978,11 +1978,11 @@ const int ObjectAlignmentInBytes = 8;
"Mark all threads after a safepoint, and clear on a modify " \
"fence. Add cleanliness checks.") \
\
product(int, LockingMode, LM_LIGHTWEIGHT, \
product(int, LockingMode, LM_LEGACY, \
"Select locking mode: " \
"0: monitors only (LM_MONITOR), " \
"1: monitors & legacy stack-locking (LM_LEGACY), " \
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT, default)") \
"1: monitors & legacy stack-locking (LM_LEGACY, default), " \
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT)") \
range(0, 2) \
\
product(uint, TrimNativeHeapInterval, 0, EXPERIMENTAL, \
Expand Down

1 comment on commit f4ab952

@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.