Last attempt at sending this to the list:
During stress testing, the jeri multiplexer can fail when the jvm runs
out of memory and cannot create new Threads. The mux lock can also
become a point of thread contention. The changes avoid creating new
objects, using a bitset and array (that doesn't allocate new objects)
instead of collection classes.
The code changes also reduce the time a monitor is held, thus reducing
contention under load.
Peter.
In order to properly review changes, it would be great to know what the problem it is that you’re fixing - could you share?
Cheers,
Greg Trasuk