JDK-6378748 : Doc: ThreadStackSize does not apply to primordial thread on Windows
  • Type: Bug
  • Component: docs
  • Sub-Component: hotspot
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-01-30
  • Updated: 2014-02-27
  • Resolved: 2007-01-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 rcFixed
Related Reports
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
-XX:ThreadStackSize does not appear to apply to the primordial thread on Windows (only on subsequently started threads). The documentation should note this.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
On Windows, this option only applies to threads started explicitly by java.lang.Thread.start(). It does not apply to the primordial thread.
ACTUAL -
Nothing.

URL OF FAULTY DOCUMENTATION :
http://java.sun.com/docs/hotspot/VMOptions.html

Comments
EVALUATION Modified the release notes to reflect the launcher primordial thread issues, handed over the docs to TechPubs team.
29-08-2006

EVALUATION Yes the stacksize setting did not matter to the primordial thread, however it did affect the subsequent threads. With the fix 6316197 that the vm is launched from non-primordial thread setting this value will have effect. This will be release noted for Mustang, and clarifications put in to the new vmoptions page. *** (#1 of 1): [ UNSAVED ] ###@###.###
27-07-2006