On Fri, 25 Oct 2024 21:28:22 GMT, Patricio Chilano Mateo <pchilanom...@openjdk.org> wrote:
>> If it's always the current thread, then it should be called 'current' imo. > > I see that in lightweightSynchronizer.cpp we already use the name > `locking_thread` (although > `LightweightSynchronizer::inflate_into_object_header` still uses > `inflating_thread`). So how about using `locking_thread` instead? I can fix > `LightweightSynchronizer::inflate_into_object_header` too. > If it's always the current thread, then it should be called 'current' imo. > The inflating thread is always the current one but it's not always equal to `inflating_thread`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1817389882