RFR(L): JDK-8046936 : JEP 270: Reserved Stack Areas for Critical Sections

Andrew Haley aph at redhat.com
Wed Dec 2 15:07:26 UTC 2015


On 12/02/2015 02:56 PM, Doug Lea wrote:

> On 32bit systems the 1MB limit is completely defensible. But expanding
> to say 64MB on 64bit systems would reduce practical encounters with
> SOE in these kinds of constructions by a factor of 64 or so.
> Is there any reason not to do this?

Some cloud VMs do not over-commit memory.  This means they make sure
that all of the memory which is allocated really is available.  On
such systems, pre-allocating 64M would be a Bad Thing.

Andrew.




More information about the core-libs-dev mailing list