Efficient implementation of run-time generic types for Java

dc.contributor.advisorCartwright, Robert S.
dc.creatorAllen, Eric Ethan
dc.date.accessioned2009-06-04T08:30:26Z
dc.date.available2009-06-04T08:30:26Z
dc.date.issued2002
dc.description.abstractOne of the most significant limitations of the Java Programming Language is its lack of support for generic types. This thesis describes an efficient compiler and run-time type system for NextGen, a compatible extension of Java that supports generic types, including type dependent operations. The NextGen compiler is implemented as an extension to the existing compiler for GJ, a limited generic extension of Java that does not support run-time generic types. Our implementation is homogeneous, with one major exception: Instantiations of generic classes are constructed on demand. This exception is necessary to support polymorphic recursion. The NextGen compiler generates templates for such instantiation classes and relies on a customized class loader to construct instantiations at run-time. A suite of benchmarks on the Java, GJ, and NextGen compilers shows that the additional code required to support run-time generic types has little or no overhead compared to ordinary Java and GJ.
dc.format.extent71 p.en_US
dc.format.mimetypeapplication/pdf
dc.identifier.callnoTHESIS COMP.SCI. 2002 ALLEN
dc.identifier.citationAllen, Eric Ethan. "Efficient implementation of run-time generic types for Java." (2002) Master’s Thesis, Rice University. <a href="https://hdl.handle.net/1911/17487">https://hdl.handle.net/1911/17487</a>.
dc.identifier.urihttps://hdl.handle.net/1911/17487
dc.language.isoeng
dc.rightsCopyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.
dc.subjectComputer science
dc.titleEfficient implementation of run-time generic types for Java
dc.typeThesis
dc.type.materialText
thesis.degree.departmentComputer Science
thesis.degree.disciplineEngineering
thesis.degree.grantorRice University
thesis.degree.levelMasters
thesis.degree.nameMaster of Science
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
1408646.PDF
Size:
1.82 MB
Format:
Adobe Portable Document Format