INNER CODE UNIT · Java

ElasticScheduler

RuedigerMoeller/kontraktor · attic/ElasticScheduler.java:22

public class ElasticScheduler implements Scheduler, Monitorable {

    public static final int MAX_STACK_ON_SYNC_CBDISPATCH = 100000;
    public static int DEFQSIZE = 32768; // will be alligned to 2^x

    public static boolean DEBUG_SCHEDULING = false;
    public static boolean REALLY_DEBUG_SCHEDULING = false; // logs any move and remove

    public static int RECURSE_ON_BLOCK_THRESHOLD = 2;

    int maxThread = Runtime.getRuntime().availableProcessors();
    protected BackOffStrategy backOffStrategy = new BackOffStrategy();
    final DispatcherThread threads[];

    int defQSize = DEFQSIZE;

    private AtomicInteger isolateCount = new AtomicInteger(0);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…