RFR: 8290036: Define and specify Runtime shutdown sequence [v4]
Stuart Marks
smarks at openjdk.org
Mon Aug 8 22:08:19 UTC 2022
On Mon, 8 Aug 2022 02:36:45 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> "initiated" is also used.
>
> I would suggest saying as little as possible here and simply deferring to the Runtime text ie.:
>
>> The <a href="Runtime.html#shutdown">shutdown sequence</a> begins when all started
> non-daemon threads have terminated.
>
> No need to elaborate, or directly refer to exit().
I changed "commencing" to beginning, and I removed the sentence talking about Runtime::exit. I think it's useful to be explicit about unstarted non-daemon threads.
-------------
PR: https://git.openjdk.org/jdk/pull/9437
More information about the core-libs-dev
mailing list