3 ms·
Source for which section? I am basing this on mostly my experience and codedigging - I don't think there are many written sources about observing this other tha
by Pannoniae 3y ago
Source for which section? I am basing this on mostly my experience and codedigging - I don't think there are many written sources about observing this other than anecdotes on forums or reddit or whatever.
With that being said, I'm happy to investigate in detail if you can tell which parts you are interested in.
You are right, the JVM has many optimisations built in to de-virtualise calls and avoid allocations and the such, but if you abuse it, the JIT will give up. I don't think any JIT will de-virtualise or perform escape analysis on 5-6 layers of indirection with branching.