[concurrency-interest] CallerRunsOrRejects for JDK8?

√iktor Ҡlang viktor.klang at gmail.com
Mon May 21 13:43:12 EDT 2012

On Mon, May 21, 2012 at 7:19 PM, Aleksey Shipilev <
aleksey.shipilev at gmail.com> wrote:

> On Sat, May 12, 2012 at 8:05 PM, √iktor Ҡlang <viktor.klang at gmail.com>
> wrote:
> > As a sidenote, it'd be nice to have an AsyncExecutor, which is never
> allowed
> > to do caller-runs at all. Some code might rely on the block not being
> > executed on submission.
> I had always had a feeling this is the difference between
> Executor.execute() and ExecutorService.submit(). submit() should not
> allow to do caller-runs unless explicitly told so by rejection policy.
> I would anticipate lots of people are betting on that.

Problem is all the baggage of ExecutorService. :/


> -Aleksey.

Viktor Klang

Akka Tech Lead
Typesafe <http://www.typesafe.com/> - The software stack for applications
that scale

Twitter: @viktorklang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120521/f6d34a81/attachment.html>

More information about the Concurrency-interest mailing list