471 |
|
* We go further and preserve pool invariants even in the face of |
472 |
|
* errors such as OutOfMemoryError, that might be thrown while |
473 |
|
* trying to create threads. Such errors are rather common due to |
474 |
< |
* the need to allocate a native stack in Thread#start, and users |
474 |
> |
* the need to allocate a native stack in Thread.start, and users |
475 |
|
* will want to perform clean pool shutdown to clean up. There |
476 |
|
* will likely be enough memory available for the cleanup code to |
477 |
|
* complete without encountering yet another OutOfMemoryError. |