2005
DOI: 10.1016/j.entcs.2005.09.013
|View full text |Cite
|
Sign up to set email alerts
|

Effective and Efficient Compilation of Run-Time Generics in Java

Abstract: After several years from Sun Microsystems' call-for-proposals for adding generics to the Java Programming Language, JDK 1.5 will be finally shipped with a compile-time support for generics. However, differently e.g. from the current implementation of .NET Common Language Runtime, run-time support to generics -also commonly referred to as reification of type parameters -is not provided, leading to a number of well-known inadequacies which might potentially be critical. In this paper we present the EGO compiler … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
17
0

Year Published

2007
2007
2012
2012

Publication Types

Select...
3
2

Relationship

2
3

Authors

Journals

citations
Cited by 7 publications
(17 citation statements)
references
References 7 publications
0
17
0
Order By: Relevance
“…Moreover, the reference to a descriptor is also stored locally to where it has been used, e.g. as static field of a client class, leading to a particularly space-and time-efficient double-caching mechanism [33]. The details of this kind of management are encapsulated into a method $crCLA(), automatically added by the EGO compiler to a generic class (C), which takes the instantiation of the type parameters (T) and yields the corresponding descriptor of the current class (C<T>), also taking care of other tasks such as registering the descriptor and setting the descriptor for its direct supertype.…”
Section: Type Descriptors In Egomentioning
confidence: 99%
See 4 more Smart Citations
“…Moreover, the reference to a descriptor is also stored locally to where it has been used, e.g. as static field of a client class, leading to a particularly space-and time-efficient double-caching mechanism [33]. The details of this kind of management are encapsulated into a method $crCLA(), automatically added by the EGO compiler to a generic class (C), which takes the instantiation of the type parameters (T) and yields the corresponding descriptor of the current class (C<T>), also taking care of other tasks such as registering the descriptor and setting the descriptor for its direct supertype.…”
Section: Type Descriptors In Egomentioning
confidence: 99%
“…inner classes-though solutions at the JVM level have obviously better performance and coherence, and may be more appealing for an official release of the language. The EGO compiler (Exact Generics on-Demand) [33] is the result of a project developed in collaboration with Sun Microsystems with the goal of evaluating a smooth support to runtime generics, which would not require changes on the JVM or on any other component of the Java Runtime Environment (JRE). The solution conceived and developed is a sophisticated translation of code based on the type-passing style [34,32] -also known as lifting of type parameters -where runtime type information is automatically created on a by-need basis, and cached for future utilisation.…”
Section: The Ego Compilermentioning
confidence: 99%
See 3 more Smart Citations