Re: RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v17]

2024-02-27 Thread Serguei Spitsyn
On Tue, 27 Feb 2024 18:24:04 GMT, Leonid Mesnik wrote: >> Serguei Spitsyn has updated the pull request incrementally with one >> additional commit since the last revision: >> >> fix a typo in libObjectMonitorUsage.cpp > > src/hotspot/share/runtime/threads.cpp line 1185: > >> 1183: } >>

Re: RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v17]

2024-02-27 Thread Serguei Spitsyn
On Fri, 23 Feb 2024 18:40:10 GMT, Serguei Spitsyn wrote: >> The implementation of the JVM TI `GetObjectMonitorUsage` does not match the >> spec. >> The function returns the following structure: >> >> >> typedef struct { >> jthread owner; >> jint entry_count; >> jint waiter_count;

Re: RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v17]

2024-02-27 Thread Leonid Mesnik
On Fri, 23 Feb 2024 18:40:10 GMT, Serguei Spitsyn wrote: >> The implementation of the JVM TI `GetObjectMonitorUsage` does not match the >> spec. >> The function returns the following structure: >> >> >> typedef struct { >> jthread owner; >> jint entry_count; >> jint waiter_count;

Re: RFR: 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage [v17]

2024-02-23 Thread Serguei Spitsyn
> The implementation of the JVM TI `GetObjectMonitorUsage` does not match the > spec. > The function returns the following structure: > > > typedef struct { > jthread owner; > jint entry_count; > jint waiter_count; > jthread* waiters; > jint notify_waiter_count; >