im doing a few concurrency experiments in java. I have this prime calculation method, which is just for mimicking a semi-expensive operation:
static boolean i