Invokedynamic deoptimization issues

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


I've implemented a bunch of different ways for 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:

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


More information about the hotspot-dev mailing list