Review Request 8144553: java/lang/StackWalker/StackWalkTest.java and MultiThreadStackWalk.java fail with stack overflows

Mandy Chung mandy.chung at oracle.com
Thu Dec 17 15:22:07 UTC 2015


> On Dec 17, 2015, at 6:02 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Hi Mandy,
> 
> I believe it would be good to have some test that go over
> the 1024 limit - as this has been useful to detect bugs
> when we were actively prototyping the API.
> 
> So  maybe we should first try to reduce from 2000 to e.g. 1028?
> 

Are you relating 1024 to the MaxJavaStackTraceDepth?  That is the max depth of builtin  backtrace.  StackWalker no longer has the maxDepth.

Mandy

> best regards,
> 
> -- daniel
> 
> On 16/12/15 21:30, Mandy Chung wrote:
>> This is a test fix to reduce the stack depth to avoid StackOverFlow when running with -Xcomp on solaris sparc.
>> 
>> Webrev:
>>    http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8144553/webrev.00/index.html
>> 
>> I verified the tests on solaris-sparcv9 machine with fastdebug VM -Xcomp -ea -esa.
>> 
>> Mandy
>> 
> 




More information about the core-libs-dev mailing list