eclipse-openj9 / openj9-utils

Other
16 stars 29 forks source link

Reduce performance overhead of perf agent #70

Closed mpirvu closed 3 years ago

mpirvu commented 3 years ago

This commit fixes a performance bug caused by a tight loop that permanently checks whether there are delayed commands to be processed. This bug does not show if we give the agent a port option to listen to, because in that case the loop mentioned above includes a poll operation with a timeout of 250ms.

This commit also makes the following changes:

Signed-off-by: Marius Pirvu mpirvu@ca.ibm.com

mpirvu commented 3 years ago

@dsouzai Could you please this PR of mine? Thanks

mpirvu commented 3 years ago

@dsouzai I addressed all review comments. Ready for another review. Thanks