4 ms·
As he mentions in the talk early JDK7 implementations had a number of bugs (especially round class lookup and MethodHandles), but Java 7 update 40 introduced th
by aardvark179 12y ago
As he mentions in the talk early JDK7 implementations had a number of bugs (especially round class lookup and MethodHandles), but Java 7 update 40 introduced the Java 8 implementation and that is much more stable, though has somewhat different performance characteristics.
He is right that making giant guardWithTest chains will not be very optimal, normally creating a PIC of 1 or 2 tests and then falling back to other lookup and caching mechanism s is generally a good plan, but most callsites only get one or two types going through them anyway.