Request for reviews (S): 7071709: JSR 292: switchpoint invalidation should be pushed not pulled
forax at univ-mlv.fr
Thu Aug 25 10:51:27 PDT 2011
On 08/25/2011 06:55 PM, Tom Rodriguez wrote:
> Why is this being done for VolatileCallSite? There's no mechanism for falling back if the field is invalided too many times so we're just going to recompile over and over again which seems wrong. Otherwise it looks ok.
Maybe because it can be invalidated only once from the API side.
> On Aug 25, 2011, at 6:54 AM, Christian Thalinger wrote:
>> 7071709: JSR 292: switchpoint invalidation should be pushed not pulled
>> SwitchPoints use a MutableCallSite for its implementation. The fix is
>> to treat the target field of constant CallSites as a compile time
>> constant and add a dependence for invalidation of the optimization.
More information about the hotspot-compiler-dev