The constructor for
SameThreadSubmitterExecutorhas been deprecated. This was meant to be done earlier, instead
SameThreadSubmitterExecutor.instance()should be used.
ReschedulingOperationperformance improvements by to looping instead of immediately executing if it was signaled while running. This provides a couple improvements:
- No need to incur the overhead of queuing and cross thread communication to execute immediately
- When a SameThreadSubmitterExecutor is used this will avoid a possible stack overflow
ConfigurableThreadFactorynow has the ability to add a listener to be provided threads as they are created. This can be useful for debugging or other monitoring code which needs to know about threads related to specific pools. Within the threadly library
ControlledThreadProfileris a perfect example of how this can be leveraged.