From JVMLangSummitJump to navigationJump to search
Multiple Dispatch for the Java Virtual Machine
- University of Saskatchewan
- 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, maintains 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 Speciﬁc Applicable (MSA) dispatcher, a framework-based Single Receiver Projections (SRP) dispatcher, and a tuned SRP dispatcher.
- <update the bio here>
Key Issues for Discussion (cooperative)
(please expand cooperatively) Talk:JVM Multiple Dispatch