RFR: 8225035: Thread stack size issue caused by large TLS size
Andrew Haley
aph at redhat.com
Mon Jun 17 10:15:26 UTC 2019
On 6/17/19 11:08 AM, Florian Weimer wrote:
>> I think I suggested before to have a JVM knob which specifies a minimum
>> stack size for passing to libpthread. This would be a rather
>> straightforward way to deal with applications which specify impossibly
>> small thread stacks without having to recompile them. If users
>> encounter a problem and they are on 64-bit architectures, they can just
>> set that knob to 1 MiB because it's unlikely that they have to conserve
>> address space.
>
> I still stand behind this suggestion.
This is simple and has the considerable virtue of not needing any particular
handling of large page sizes.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-runtime-dev
mailing list