JVMMultipleDispatch

From JVMLangSummit
Revision as of 10:03, 25 September 2008 by Penni (talk | contribs) (JVM multiple dispatch)
Jump to navigationJump to search

Multiple Dispatch for the Java Virtual Machine

Christopher Dutchyn

Project
University of Saskatchewan

Abstract

Talk Abstract
Java provides only a restricted form of polymorphic methods,
namely single-receiver dispatch. In common programming
situations, developers must work around this limitation. We
describe how to extend the Java Virtual Machine to support
multi-method dispatch and examine the complications that Java
imposes on multi-method dispatch in practice. Our technique
avoids changes to the Java programming language itself, main-
tains source-code and library compatibility, and isolates the
performance penalty and semantic changes of multi-method dispatch to the program sections which use it. We have micro-benchmark and application-level performance results for a dynamic Most Specific Applicable (MSA) dispatcher, a framework-based Single Receiver Projections (SRP) dispatcher, and a tuned SRP dispatcher.

http://wiki.jvmlangsummit.com/pdf/17_Dutchyn_mdj.pdf

Author Bio

  • <update the bio here>

Key Issues for Discussion (cooperative)

(please expand cooperatively) Talk:JVM Multiple Dispatch