Instrumenting call sites.
MacGregor, Duncan (GE Energy Management)
duncan.macgregor at ge.com
Thu Nov 29 11:53:17 PST 2012
On 29/11/2012 19:34, "Aleksey Shipilev" <aleksey.shipilev at 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.
More information about the mlvm-dev
mailing list