| This test exercises ObjectReference.MonitorInfo command.
The test starts MonitorInfoDebuggee class, gets objectID
as value of static field of this class which (field) represents checked object.
Then for this objectID test executes ObjectReference.MonitorInfo command for
checked object and checks that command returns the expected monitor info:
monitorOwnerThreadID = 0, monitorEntryCount = 0, monitorWaiters = 0
Then test waits for Debuggee to continue and to enter in synchronized block
and again executes ObjectReference.MonitorInfo for checked object.
Then test checks that expected results are received:
monitorOwnerThreadID = 'not null', monitorEntryCount = 1, monitorWaiters = 0
|