hg: lambda/lambda/jdk: Restore suggestDepth and suggestTargetSize as they are still in use

Kasper Nielsen kasperni at gmail.com
Mon Sep 24 01:51:11 PDT 2012


Much like ServiceLoader throws a ServiceConfigurationError if it is
misconfigured.
Wouldn't it make more sense to throw a PoolInitializationError instead
of a runtime exception.

As the usage of defaultFJPool() finds it way into other places of the
JDK and deep inside third party libraries.
I find it hard to believe that it is possible to recover in any reasonable way.

On Mon, Sep 24, 2012 at 6:48 AM,  <david.holmes at oracle.com> wrote:
> Changeset: 44399f708eb9
> Author:    dholmes
> Date:      2012-09-24 00:47 -0400
> URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/44399f708eb9
>
> Restore suggestDepth and suggestTargetSize as they are still in use
>
> ! src/share/classes/java/util/concurrent/ForkJoinUtils.java
>
>


More information about the lambda-dev mailing list