Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6655646
Votes 0
Synopsis dynamic languages need dynamically linked call sites
Category hotspot:compiler2
Reported Against
Release Fixed hs16(b02), 7(b57) (Bug ID:2177414)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 6829142 , 6829144 , 6829187 , 6829192 , 6829193 , 6829194 , 6829195 , 6834142
Submit Date 27-JAN-2008
Description
See "Notes on an Architecture for Dynamic Invocation"
http://blogs.sun.com/jrose/entry/notes_on_an_architecture_for

Dynamic languages have rich, loosely-linked call sites.  The present JVM architecture supports Java call sites directly, and these are statically linked, with carefully limited dynamic linking and dispatch.  It is difficult to emulate more dynamic call sites; the simulation overheads make for complex implementation, voluminous bytecodes, slow interpreted execution, and poor optimizability in the JIT.

The solution is JVM support for a new sort of call site, sometimes called "invokedynamic".  This is the prime deliverable of JSR 292.

In JSR 292 Expert Group deliberations so far, dynamic call sites appear to require a separate, lower-level facility for specifying independent units of behavior, called called method handles (6655638).  The present RFE would add dynamic (re-)linking and an architecture for programmable method guards (type dispatch) to obtain the desired dynamic call sites.
Posted Date : 2008-01-27 04:24:48.0
Work Around
N/A
Evaluation
http://cr.openjdk.java.net/~jrose/6829144/
Posted Date : 2009-04-11 23:35:12.0

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/be93aad57795
Posted Date : 2009-04-22 11:11:58.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang