465 |
|
} |
466 |
|
|
467 |
|
/** |
468 |
< |
* Find missing try { ... } finally { joinPool(e); } |
468 |
> |
* Finds missing try { ... } finally { joinPool(e); } |
469 |
|
*/ |
470 |
|
void checkForkJoinPoolThreadLeaks() throws InterruptedException { |
471 |
|
Thread[] survivors = new Thread[5]; |
924 |
|
/** |
925 |
|
* Returns the number of milliseconds since time given by |
926 |
|
* startNanoTime, which must have been previously returned from a |
927 |
< |
* call to {@link System.nanoTime()}. |
927 |
> |
* call to {@link System#nanoTime()}. |
928 |
|
*/ |
929 |
|
static long millisElapsedSince(long startNanoTime) { |
930 |
|
return NANOSECONDS.toMillis(System.nanoTime() - startNanoTime); |