static new ThreadLocal coresToUse_tl; static int coresToUse() { try Int i = coresToUse_tl!; ret max(1, numberOfCores()-1); }