JVM default stack size and 64KB base pages
Posted Jun 24, 2006 11:52 UTC (Sat) by
nix (subscriber, #2304)
In reply to:
JVM default stack size and 64KB base pages by vaurora
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 ...
else
... size it to something sane ...
If so, well, *ick*.
(
Log in to post comments)