Invokedynamic deoptimization issues

Sam Pullara spullara+hotspot at gmail.com
Wed Jan 14 17:23:41 UTC 2015


Hi,

I've implemented a bunch of different ways for mustache.java to get data
from names fields and methods. One thing I have noticed running benchmarks
is that accessing the fields/methods in different ways can cause
invokedynamic to either never be optimized or actually be deoptimized later
during the running of the benchmarks (20x+ difference in performance). Here
is the code I have been running:

https://github.com/spullara/indybenchmark

I was wondering what the best way to debug this would be?

Thanks,
Sam


More information about the hotspot-dev mailing list