[Bug 212150] java/openjdk8 frequent sigsev due to small ThreadStackSize
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 7 18:47:22 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212150
--- Comment #3 from openjdk at 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.
More information about the freebsd-java
mailing list