Skip to Main content Skip to Navigation
Conference papers

Stress-testing Control Structures for Dynamic Dispatch in Java

Abstract : Dynamic dispatch, or late binding of function calls, is a salient feature of object-oriented programming languages like C++ and Java. It can be costly on deeply pipelined processors, because dynamic calls translate to hard-to-predict indirect branch instructions, which are prone to causing pipeline bubbles. Several alternative implementation techniques have been designed in the past in order to perform dynamic dispatch without relying on these expensive branch instructions. Unfortunately it is difficult to compare the performance of these competing techniques, and the issue of which technique is best under what conditions still has no clear answer. In this study we aim to answer this question, by measuring the performance of four alternative control structures for dynamic dispatch on several execution environments, under a variety of precisely controlled execution conditions. We stress test these control structures using micro-benchmarks, emphasizing their strenghts and weaknesses, in order to determine the precise execution circumstances under which a particular technique performs best.
Complete list of metadatas

https://hal.inria.fr/inria-00000111
Contributor : Olivier Zendra <>
Submitted on : Tuesday, April 11, 2006 - 9:17:45 AM
Last modification on : Thursday, June 18, 2020 - 12:32:04 PM
Long-term archiving on: : Thursday, April 1, 2010 - 9:40:55 PM

Identifiers

  • HAL Id : inria-00000111, version 1

Collections

Citation

Olivier Zendra, Karel Driesen. Stress-testing Control Structures for Dynamic Dispatch in Java. 2nd Java Virtual Machine Research and Technology Symposium (JVM'2002), Usenix - The Advanced Computing Systems Association, Aug 2002, San Francisco, CA, USA, pp.105-118. ⟨inria-00000111⟩

Share

Metrics

Record views

259

Files downloads

555