On 29/11/2012 19:34, "Aleksey Shipilev" <aleksey.shipi...@oracle.com> wrote: >Probably unrelated, but can't you do the same thing by dumping the type >profile from HotSpot? -XX:+TraceTypeProfile (I think it requires debug >build at this point, but 7u12 onwards should have that available in >production builds).
It might well work for collecting stats on fast path cases (I'll try it with our micro-benchmarks), but I doubt it will produce useful output once the site has gone to the slower megamorphic version - plus by instrumenting our sites I could collect stats on SwitchPoint invalidations per site and cache access patterns in the megamorphic case both of which were rather useful. _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev