Request for review (L): 7087838: JSR 292: add throttling logic for optimistic call site optimizations
vladimir.kozlov at oracle.com
Fri Sep 16 10:50:29 PDT 2011
Looks fine to me.
Christian Thalinger wrote:
> [This change will be pushed after 7087357. So ignore the code removal in src/share/vm/classfile/javaClasses.cpp.]
> 7087838: JSR 292: add throttling logic for optimistic call site optimizations
> 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
> The fix is to add some throttling logic that prevents the optimistic
> optimization after a specified amount of invalidations per CallSite
> This change also moves the flush_dependents_on methods from Universe
> to CodeCache.
More information about the hotspot-compiler-dev