Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4741093
Votes 0
Synopsis Java HotSpot(TM) Client VM warning: Attempt to allocate stack guard pages failed
Category hotspot:runtime_system
Reported Against s81_dev
Release Fixed 1.3.1_09
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4697857
Submit Date 04-SEP-2002
Description
See comment
Work Around
Workaround would be:
   -XX:InitialCodeCacheSize=196608 -Xss512k


	
Evaluation
This was failing with 64k (or larger) base page sizes due to having
defaults that weren't aligned (codeCache) or our policy of subtracting
3 guard pages (ThreadStackSize).  

We need to round the code cache to the os's page size.

The approriate (least amount of surprise) fix for the ThreadStackSize
problem is to leave it as is for 8k page sizes (subtracting the 3 pages)
but for larger than 8k pages, we'll ADD the 3 guard pages to the size requested.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang