RFR: 8335397: Improve reliability of TestRecursiveMonitorChurn.java [v2]
David Holmes
dholmes at openjdk.org
Wed Jul 3 07:18:20 UTC 2024
On Wed, 3 Jul 2024 07:06:17 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Axel Boldt-Christmas has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update test/hotspot/jtreg/runtime/locking/TestRecursiveMonitorChurn.java
>
> src/hotspot/share/prims/whitebox.cpp line 1858:
>
>> 1856:
>> 1857: WB_ENTRY(jlong, WB_getInUseMonitorCount(JNIEnv* env, jobject wb))
>> 1858: return (jlong) WhiteBox::get_in_use_monitor_count();
>
> Why the indirection?
Ah now I see. We need the member function to make it a friend.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19965#discussion_r1663646717
More information about the hotspot-dev
mailing list