JDK-6784583 : Compiler thread size leads to issues
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2008-12-12
  • Updated: 2010-07-29
  • Resolved: 2008-12-12
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.
Other
1.4.2Resolved
Related Reports
Duplicate :  
Description
The following is an e.mail snippet from SAP, who are facing grave issues between the JDK versions 1.4.2_17 and 18. The issue is currently processed by Kevin Walls, who has already invested considerable time with the issue and provided solutions towards the issue. I'd therefore like to request this issue to be processed further by Kevin.
-----------------------------------------------------------------------------------
-XX:CompilerThreadStackSize was ignored in previous 1.4.2  Windows versions. -Xss was recommended as workaround (bug-id 6579892 ).Starting with 1.4.2_18 the parameter is used now AND -Xss is ignored for the compiler thread, even if -XX:CompilerThreadStackSize is not set.

Therefore existing systems and our installation procedure run with 1.4.2_18 in stack overflows because we use -Xss to set the (compiler) thread stack size. Of course we could write hints for the customers and recommend -XX:CompilerThreadStackSize to solve the problem. But a JDK switch is a common thing, so that probably a lot of customers will do the switch without reading the notes. Additionally for installation customers have do do some manual changes of files, which might cause trouble.

Hence we expect a lot of problems at customer side when they switch to 1.4.2_18 or above. Therefore we would ask SUN to fix the -XX:CompilerThreadStackSize issue in a compatible way, which would mean that -Xss is used for the compiler thread too if -XX:CompilerThreadStackSize is not set. 
-----------------------------------------------------------------------------------

Comments
EVALUATION We already have CR 6778571 to describe this, and the solution of letting CompilerThread default to the Xss stack size, if CompilerThreadStackSize is not specified.
12-12-2008