On Wed, 23 Nov 2022 05:01:40 GMT, Ryan Ernst <d...@openjdk.org> wrote:

> This commit guards thread modifications for the process reaper thread with 
> doPrivileged.

Changes requested by chegar (Reviewer).

src/java.base/share/classes/jdk/internal/misc/InnocuousThread.java line 137:

> 135:     public static Thread newSystemThread(String name, Runnable target,
> 136:                                          long stackSize, int priority,
> 137:                                          boolean daemon) {

Thanks for adding this overload, I think that it will be useful for the future 
too.   ( it never seems to matter how many variants of these factories we have, 
we still need one more :-) )

-------------

PR: https://git.openjdk.org/jdk/pull/11309

Reply via email to