RFR: 8286957: Held monitor count [v2]

Robbin Ehn rehn at openjdk.org
Wed Jun 29 16:18:32 UTC 2022


On Tue, 28 Jun 2022 12:39:49 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp line 629:
>> 
>>> 627:         mon->lock()->set_displaced_header(displaced);
>>> 628:         bool call_vm = UseHeavyMonitors;
>>> 629:         bool inc_mon_count = true;
>> 
>> Should be inc_mon**t**_count? We're consistent with `dec_mont_count`.
>
> Please do not use `mont` as an abbreviation for monitor - use `mon` or `monitor`. Thanks.

Thanks, fixed.

-------------

PR: https://git.openjdk.org/jdk/pull/8945


More information about the hotspot-dev mailing list