RFR (S) 7179701: MaxJavaStackTraceDepth of zero is not handled correctly/consistently in the VM

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Mon Jan 29 23:54:13 UTC 2018

Summary: Value of zero means unlimited stack trace.  If you want no 
stack trace, use -XX:-StackTraceInThrowable

I think I broke this with rework to Throwable fill_in_stack_trace. 
Tested with jvmti, jdi and stack stress tests.   Also tested manually 
with version of the new test with kill -3 to test the thread.cpp code.

open webrev at http://cr.openjdk.java.net/~coleenp/7179701.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-7179701


More information about the hotspot-runtime-dev mailing list