Investigate if there are any benefits of rewriting the ObjectMonitor lists (cxq, EntryList and WaitSet).
Can the code be simplified in a way that makes it easier to understand and maintain?
How does such a rewrite affect performance?
Can the code be simplified in a way that makes it easier to understand and maintain?
How does such a rewrite affect performance?