Skip to content

Commit

Permalink
Make FJP SPINS configurable with System.property, default 256
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Mar 16, 2017
1 parent 7e3376e commit 0904da1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ private static final synchronized int nextPoolId() {
private static final int SHUTDOWN = 1 << 31;
private static final int PL_LOCK = 2;
private static final int PL_SIGNAL = 1;
private static final int PL_SPINS = 1 << 8;
private static final int PL_SPINS = Integer.getInteger("akka.dispatch.forkjoin.spins", 1 << 8);

// access mode for WorkQueue
static final int LIFO_QUEUE = 0;
Expand Down

0 comments on commit 0904da1

Please sign in to comment.