RFR (S): 8011933: add number of classes, methods and time spent to CompileTheWorld
Christian Thalinger
christian.thalinger at oracle.com
Wed Apr 10 20:49:03 PDT 2013
On Apr 10, 2013, at 4:42 PM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> Chris,
>
> This is pedantic but os::javaTimeNanos() may be better since it'll use higher resolution clock source and it's monotonic (if OS supports monotonic clock).
>
The time spent is really only a rough estimate since it includes other things like the pre-loading of the classes in the constant pool. If someone wants better numbers in the future we should time the compiles only. For now this is good enough.
Thanks for the review.
-- Chris
> Vitaly
>
> On Apr 10, 2013 5:08 PM, "Christian Thalinger" <christian.thalinger at oracle.com> wrote:
> http://cr.openjdk.java.net/~twisti/8011933
>
> 8011933: add number of classes, methods and time spent to CompileTheWorld
> Reviewed-by:
>
> Add some code to print some statistics with the done message:
>
> CompileTheWorld : Done (2 classes, 16 methods, 972 ms)
>
> src/share/vm/classfile/classLoader.cpp
> src/share/vm/classfile/classLoader.hpp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130410/6e2554b2/attachment.html
More information about the hotspot-compiler-dev
mailing list