The optimistic optimization for MutableCallSite and VolatileCallSite invalidate compiled methods on every setTarget. This possibly results in a recompile. For ever-changing call sites this is a performance hit.
- relates to
-
JDK-7177745 JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
- Resolved
- links to