JVM default stack size and 64KB base pages
Posted Jun 24, 2006 11:52 UTC (Sat) by nix
In reply to: JVM default stack size and 64KB base pages
Parent article: KHB: Transparent support for large pages
I'm missing something. If the crash was due to the JVM unconditionally creating stacks of 2*PAGESIZE, then wouldn't the default (smaller) page size make the problem worse? (I doubt a JVM would work well with 8Kb or 16Kb thread stacks!)
Or were they doing something like
if (PAGESIZE > 16384)
... size stack to 2*PAGESIZE ...
... size it to something sane ...
If so, well, *ick*.
to post comments)