On 20.02.2018 00:14, Vladimir Ivanov wrote:


Sorry if it's a dumb question, but why nonStaticMethodHandle cannot get inlined here? -- In the benchmark it's always the same line with the same final MethodHandle variable, can JIT based on some profiling info to inline it (similar to the function object generated by LambdaMetafactory). -- Or it cannot sine InvokeExact's PolymorphicSignature makes it quite special?

Yes, method handle invokers are special and ordinary type profiling (class-based) doesn't work for them.

I am absolutely not uptodate here, but there was talk about trace based type profiling. Did that become reality?

bye Jochen
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to