Hi,
I did run into this issue with Nashorn as well. That was back in 2013, but
a certain Nick Houghton (cc, who will be glad to here there’s finally a bug
filed) contacted me about that in Dec'15, asking whether I had made any
progress, because he had discovered the same issue.
Here’s my original
The symptoms are really like a deoptimization storm,
setCallSiteTargetNormal goes to a safepoint (which is worst that only having
the compiler/JIT lock because all threads are stopped),
when either a code calls setTarget or a SwithPoint is invalidated.
You have a deopt storm when the JIT compi