United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7071653 JSR 292: call site change notification should be pushed not pulled
JDK-7071653 : JSR 292: call site change notification should be pushed not pulled

Details
Type:
Enhancement
Submit Date:
2011-07-27
Status:
Closed
Updated Date:
2011-11-25
Project Name:
JDK
Resolved Date:
2011-09-30
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs22 (b02)

Related Reports
Backport:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
Currently every speculatively inlined method handle call site has a guard that compares the current target of the CallSite object to the inlined one.  This per-invocation overhead can be removed if the notification is changed from pulled to pushed (i.e. deoptimization).

                                    

Comments
EVALUATION

This optimization should only be applied to MutableCallSite objects and not VolatileCallSite objects since the latter are intended to change their targets very often which would lead to very bad performance.
                                     
2011-07-27
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/fdb992d83a87
                                     
2011-08-16
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/fdb992d83a87
                                     
2011-08-23
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together