Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Sep 2016 18:47:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 212150] java/openjdk8 frequent sigsev due to small ThreadStackSize
Message-ID:  <bug-212150-8522-RrhWNpcU2n@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212150-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212150-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212150

--- Comment #3 from openjdk@getsnappy.com ---
I'm glad it helped.  I agree that this is just a workaround and not a fix.  I
took a peak at libthr and I don't believe there is a way to detect a native
stack overflow.  I also looked into the default sizing logic and it looks like
the default is identical to Linux, at 1M for 64bit architectures.  It looks
like the  default non-initial thread stack size is 2MB for 64bit architectures,
so I wonder if 1MB is just too low for FreeBSD. 

It looks like the stack sizing logic was directly ported from Linux.  So maybe
the solution would be to bump up the defaults.  Does anybody have any clue as
to why we would need a bigger native stack on Freebsd vs Linux?

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212150-8522-RrhWNpcU2n>