RFR: 8286092: Remove dead windows stack code

Ioi Lam iklam at openjdk.java.net
Tue May 3 23:09:53 UTC 2022


On Tue, 3 May 2022 22:34:10 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> In reviewing JDK-[8285832](https://bugs.openjdk.java.net/browse/JDK-8285832) @iklam noticed the code following the minimum stack size calculation is dead.  This change removes the dead code, plus an unused os_thread_counter nearby.
> This code predates mercurial.
> Tested with tier1 on windows-x64 and windows-x64-debug.

LGTM.

I searched all .java and .c/.cpp source code for `os_thread_count` and `os_thread_limit` and didn't find any references other than in os_windows.cpp/hpp. So these two fields aren't used by SA, either.

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

Marked as reviewed by iklam (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8524


More information about the hotspot-runtime-dev mailing list