On Nov 29, 2012, at 11:15 AM, MacGregor, Duncan (GE Energy Management) wrote:
> 1. What is the recommended maximum tree size and longest path for composed
> MethodHandles (can we push our fast path limit a little higher)?
The JIT will inline through several layers of method handles. We are tu
On Nov 29, 2012, at 12:40 PM, Krystal Mo wrote:
> Second, even if invokedynamic had a type profile, by default it'd only
> keep track of 2 receiver types, which is not enough for Duncan's case.
Adding such a type profile is long-standing "fixme". Given common usage
patterns, it is probably a g
On 11/29/2012 08:15 PM, MacGregor, Duncan (GE Energy Management) wrote:
> I've been doing a little project in my spare time to instrument our call
> sites and check the number of receivers being seen by each site in a running
> system. As expected most sites only see one or two classes and so go
Hi Aleksey,
I don't think TraceTypeProfile works in this case.
First, only invokevirtual and invokeinterface actually have type
profiles; other invokes don't. You can see that from the interpreter
code that only invokevirtual and invokeinterface do
profile_virtual_call() (which keeps track of
On 29/11/2012 19:34, "Aleksey Shipilev"
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 w
On 11/29/2012 11:15 PM, MacGregor, Duncan (GE Energy Management) wrote:
> Thanks for any help you can give.,
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 h
I've been doing a little project in my spare time to instrument our call sites
and check the number of receivers being seen by each site in a running system.
As expected most sites only see one or two classes and so go through the fast
path. There are however some sites which see slightly more r