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/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212150 --- 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 l= ike 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 architectu= res, so I wonder if 1MB is just too low for FreeBSD.=20 It looks like the stack sizing logic was directly ported from Linux. So ma= ybe 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? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212150-8522-RrhWNpcU2n>