BIDIRECTIONAL OBJECT LAYOUT FOR SEPARATE COMPILATION

Authors
Citation
Ac. Myers, BIDIRECTIONAL OBJECT LAYOUT FOR SEPARATE COMPILATION, ACM SIGPLAN NOTICES, 30(10), 1995, pp. 124-139
Citations number
18
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
Volume
30
Issue
10
Year of publication
1995
Pages
124 - 139
Database
ISI
SICI code
Abstract
Existing schemes for object layout and dispatch in the presence of mul tiple inheritance and separate compilation waste space and are slower than systems with single inheritance. This paper describes the bidirec tional object layout, a new scheme for object layout that produces sma ller objects and faster method invocations than existing schemes by au tomatically optimizing particular uses of multiple inheritance. The bi directional object layout is used for the programming language Theta, and is applicable to languages like C++. This paper also demonstrates how to efficiently implement method dispatch when method signatures ar e allowed to change in subclasses. Most current statically compiled la nguages require identical signatures for efficiency.