static int numberOfCores() { ret Runtime.getRuntime().availableProcessors(); }