INNER CODE UNIT · Java

DEFQSIZE

RuedigerMoeller/kontraktor · attic/ElasticScheduler.java:25

    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);

    public ElasticScheduler(int maxThreads) {
        this(maxThreads, DEFQSIZE);
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…