On 22/06/2012 1:20 AM, Pierre Laporte wrote:
> Hello Hotspot guys
>
> I have written a small web application to make the description of all
> JVM options available (see http://jvm-options.tech.xebia.fr). To do so I
> parsed the content of the globals.hpp file where options are defined.
>
> It seems though that the information in globals.hpp is not completely
> true. A follower (@OlivierJaquemet) pointed that the
> description of MaxJavaStackTraceDepth is slightly wrong :
> "/Regarding options MaxJavaStackTraceDepth :
> * With Java > 1.6, value 0 really means 0. value -1 or any negative
> number must be specified to print all the stack (tested with 1.6.0_22,
> 1.7.0 on Windows)
> * With Java <= 1.5, value 0 means everything, JVM chokes on negative
> number (tested with 1.5.0_22 on Windows)###@###.###
> <mailto:###@###.###>/"
>
> As of jdk7u4, the description of this option in globals.hpp (line 2893)
> is still "Max. no. of lines in the stack trace for Java exceptions (0
> means all)". Can you update it with "Max. no. of lines in the stack
> trace for Java exceptions (-1 means all, 0 means nothing)" ?
>
> Hello Hotspot guys
>
> I have written a small web application to make the description of all
> JVM options available (see http://jvm-options.tech.xebia.fr). To do so I
> parsed the content of the globals.hpp file where options are defined.
>
> It seems though that the information in globals.hpp is not completely
> true. A follower (@OlivierJaquemet) pointed that the
> description of MaxJavaStackTraceDepth is slightly wrong :
> "/Regarding options MaxJavaStackTraceDepth :
> * With Java > 1.6, value 0 really means 0. value -1 or any negative
> number must be specified to print all the stack (tested with 1.6.0_22,
> 1.7.0 on Windows)
> * With Java <= 1.5, value 0 means everything, JVM chokes on negative
> number (tested with 1.5.0_22 on Windows)###@###.###
> <mailto:###@###.###>/"
>
> As of jdk7u4, the description of this option in globals.hpp (line 2893)
> is still "Max. no. of lines in the stack trace for Java exceptions (0
> means all)". Can you update it with "Max. no. of lines in the stack
> trace for Java exceptions (-1 means all, 0 means nothing)" ?
>
- duplicates
-
JDK-8173603 MaxJavaStackTraceDepth=0 displays no lines, but it should display all of them
- Closed
- relates to
-
JDK-8219566 JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
- Resolved