4 ms·
> Does this mean that simple accessors (or at least getters) effectively have no method call overhead? Method inlining has nothing to do with escape analysis (
by slava_pestov 17y ago
> Does this mean that simple accessors (or at least getters) effectively have no method call overhead?
Method inlining has nothing to do with escape analysis (other than enabling it in more cases) and in any case getters and setters have had zero overhead since HotSpot was first introduced in Java 1.3.