Re: [jvm-l] slow downs in invokedynamic native code

2016-03-19 Thread Benjamin Sieffert
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

Re: [jvm-l] slow downs in invokedynamic native code

2016-03-19 Thread Remi Forax
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