Mike Jensen

Results 18 issues of Mike Jensen

I noticed this while looking for another issue. If you do ConcurrentHashMap.entrySet/values/keySet, and then try to call .toArray (weather an array is passed in or not). If the map structure...

bug

This resolves #278 by providing a `as` function to the interface. This function is unlike other mappers, it enables an easy conversions out of the ListenableFuture type.

enhancement

This bug is only relevant when using a ListenerOptimizationStrategy which tries to shortcut thread queuing when the `Executor` matches the completion executor, specifically: * https://threadly.github.io/site/javadocs/threadly/6.6/org/threadly/concurrent/future/ListenableFuture.ListenerOptimizationStrategy.html#SingleThreadIfExecutorMatch * https://threadly.github.io/site/javadocs/threadly/6.6/org/threadly/concurrent/future/ListenableFuture.ListenerOptimizationStrategy.html#SingleThreadIfExecutorMatchOrDone When either strategy...

bug

There are many things we currently allow configuration on, and some that we could easily allow configuration from. We should add a central class for applying these configurations. For example...

enhancement
long term

We don't have any way to maintain priority based design if we want to limit a schedulers concurrency. There is multiple reasons this is hard (it used to be a...

enhancement
long term

This project does not have any transitive dependencies. However it sounds like we should still define a module name and specify the java classpath dependencies for this project, and other...

enhancement
help wanted

This was seen directly with using `PriorityDelegatingScheduler` combined with `SchedulerServiceLimiter` where the queued task count would end up being added multiple times. We should look at this closer, see if...

bug

One possible way to improve profiling java code may be to not do sample based profiling, but instead manipulate the byte code. We could add in signals into the byte...

enhancement
long term

if `signalToRunImmediately(Boolean)` is invoked while the task is currently running, then when the task finishes it will schedule itself out the configured delay, rather than invoking itself again immediately. This...

bug

This commit resolves #274 Issue #274 describes where AbstractCompletableListenableFuture.cancel may result in listeners with `SingleThreadIfExecutorMatchOrDone` or `SingleThreadIfExecutorMatch` optimization being executed on the thread canceling the future rather than the expected...