Wrong description in globals.hpp

Pierre Laporte pierre at pingtimeout.fr
Wed Jun 27 00:34:34 PDT 2012


On Tue, Jun 26, 2012 at 9:08 AM, David Holmes <david.holmes at oracle.com>wrote:

> Hi Pierre,
> [...]
>  However MaxJavaStackTraceDepth is used in three other places in the VM:
>
> - thread.cpp:  JavaThread::print_stack_on treats <= 0 as 'all'
> - forte.cpp: has three uses. Two treat < 0 as 'all', the other treats <=0
> as zero! (it has no "all" setting!)
> - jvmtiEnvBase.cpp: JvmtiEnvBase::get_owned_**monitors treats < 0 as 'all'
>
> So we have some code bugs here instead of, or as well as, a documentation
> bug.
>
>
Wow I did not think of it as a code bug, I will keep you informed if I find
other differences between the doc and Hotspot real behaviour.

@Dmitry : I'm glad you like it !

Best regards.

--

Pierre Laporte
pierre at pingtimeout.fr
http://www.pingtimeout.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20120627/57b54621/attachment.html 


More information about the hotspot-dev mailing list