Description
Other tests had similar issues with not finding the events due to corner case sampling intervals and GCs happening while trying to get the events.
Move the HeapMonitorEventOnOffTest code to the allocateAndCheck system (though it needs to be extended) in hopes that that is why the test was failing.
Since I could not reproduce the original task error, using a subtask to fix this and then get confirmation the failure has disappeared.
Move the HeapMonitorEventOnOffTest code to the allocateAndCheck system (though it needs to be extended) in hopes that that is why the test was failing.
Since I could not reproduce the original task error, using a subtask to fix this and then get confirmation the failure has disappeared.