RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v12]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Feb 20 23:48:06 UTC 2024


On Tue, 20 Feb 2024 06:15:07 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review: addressed comments from David
>
> test/hotspot/jtreg/serviceability/jvmti/GetObjectMonitorUsage/ObjectMonitorUsage.java line 54:
> 
>> 52: 
>> 53:     static Object lockCheck = new Object();
>> 54:     static Thread thr[] = new Thread[NUMBER_OF_THREADS];
> 
> Nit: the `[]` go on the type not the variable.

Thanks, fixed now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17680#discussion_r1496688629


More information about the serviceability-dev mailing list