Tag Archives: isAssignableFrom

Performance techniques used in the Hotspot JVM

Little gem from the Hotspot Internals wiki helping to solve puzzles such as is “X.class.isAssignableFrom(obj)” slower than “obj instanceof X“! Performance techniques used in the Hotspot JVM.