()
| 27 | } |
| 28 | |
| 29 | static void methodForThreadEarlyEnd() { |
| 30 | long now = System.currentTimeMillis(); |
| 31 | BigInteger counter = BigInteger.ZERO; |
| 32 | while (System.currentTimeMillis() - now < 300) { |
| 33 | counter = counter.nextProbablePrime(); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | static void methodForRenamedThread() { |
| 38 | long now = System.currentTimeMillis(); |