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

Doug Lea dl at cs.oswego.edu
Thu Nov 19 18:10:24 UTC 2015

On 11/16/2015 08:00 PM, David Holmes wrote:
>> I've tried that :-) The amount of code being executed with
>> the ReservedStackAccess privilege tends to increase very
>> quickly and I was concerned about keeping the size of the
>> reserved area small.
> How much space does each level of calling need? I know that is hard to answer
> but are we talking a few bytes, few kb, many kb?

Relatedly, could someone spell out in more detail the
worst-case behavior of StackOverflowError? Knowing this
might be helpful in some cases in which we might be able to
at least preserve minimal sanity without needing to reserve.


More information about the hotspot-dev mailing list