RFR: 8332923: ObjectMonitorUsage.java failed with unexpected waiter_count

SendaoYan syan at openjdk.org
Sun May 26 17:05:02 UTC 2024


On Sun, 26 May 2024 16:43:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > > That would mean it's not tested. I suspect the java_lang_VirtualThread::is_instance checks will need to be changed to test with is_a(vmClasses::BaseVirtualThread_klass()) to allow for the alternative implementation.
> > 
> > 
> > Do you mean change like this:
> 
> No, I meant in JvmtiEnvBase::get_object_monitor_usage that you'll need to go through all places where it tests if the thread is a virtual thread, they will need to be changed to support the alternative implementation.

Thanks, I will check it later.

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

PR Comment: https://git.openjdk.org/jdk/pull/19405#issuecomment-2132286758


More information about the serviceability-dev mailing list