{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/17822"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/17822","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Efficient implementation of first-class polymorphic methods in Java","abstract":"This thesis describes a new implementation architecture for polymorphic methods in Generic Java using the NEXTGEN compiler framework. The standard Generic Java (Java 1.5) compiler erases generic types at compilation. This transformation prohibits type-dependent operations, limiting generic expressivity. Type erasure causes unchecked warnings at compilation, and unexpected behavior or exceptions at runtime. Alternative reflection-based implementations of Generic Java support type-dependent operations at the cost of significant execution overhead. In contrast, this work presents an efficient implementation of polymorphic methods using NEXTG EN. An extended NEXTGEN compiler generates snippet environment template classes to encode type-dependent operations for polymorphic methods. A customized class-loader generates specialized template instantiations on demand. This demand-driven code specialization provides an efficient mechanism to propagate runtime type information, while maintaining backwards compatibility with existing libraries and Java Virtual Machines. Benchmarks show runtime support for polymorphic methods in NEXTG EN outperforms reflection-based approaches, with runtime overhead comparable to erasure-based Generic Java.","abstract_html":"This thesis describes a new implementation architecture for polymorphic methods in Generic Java using the NEXTGEN compiler framework. The standard Generic Java (Java 1.5) compiler erases generic types at compilation. This transformation prohibits type-dependent operations, limiting generic expressivity. Type erasure causes unchecked warnings at compilation, and unexpected behavior or exceptions at runtime. Alternative reflection-based implementations of Generic Java support type-dependent operations at the cost of significant execution overhead. In contrast, this work presents an efficient implementation of polymorphic methods using NEXTG EN. An extended NEXTGEN compiler generates snippet environment template classes to encode type-dependent operations for polymorphic methods. A customized class-loader generates specialized template instantiations on demand. This demand-driven code specialization provides an efficient mechanism to propagate runtime type information, while maintaining backwards compatibility with existing libraries and Java Virtual Machines. Benchmarks show runtime support for polymorphic methods in NEXTG EN outperforms reflection-based approaches, with runtime overhead comparable to erasure-based Generic Java.","abstract_has_math":false,"creators":["Sasitorn, James"],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Cartwright, Robert S."],"committee_chairs":[],"committee_members":[],"year":2005,"date_issued":"2005","date_published":"2005","updated_at":"2026-11-19T09:24:19Z","subjects":["Computer science"],"languages":["eng"],"rights":["Copyright 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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.callnumber","label":"Dc Identifier Callnumber","values":["THESIS COMP.SCI. 2005 SASITORN"],"render_values":[{"text":"THESIS COMP.SCI. 2005 SASITORN","href":null,"code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Sasitorn, James. \"Efficient implementation of first-class polymorphic methods in Java.\" (2005) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17822\">https://hdl.handle.net/1911/17822</a>."],"render_values":[{"text":"Sasitorn, James. \"Efficient implementation of first-class polymorphic methods in Java.\" (2005) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17822\">https://hdl.handle.net/1911/17822</a>.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/17822","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/17822","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F17822","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F17822","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cartwright, Robert S."]},{"key":"dc:creator","label":"Author","values":["Sasitorn, James"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2009-06-04T08:08:09Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2009-06-04T08:08:09Z"]},{"key":"dc:date.issued","label":"Date","values":["2005"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright 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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.callnumber","label":"Dc Identifier Callnumber","values":["THESIS COMP.SCI. 2005 SASITORN"]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Sasitorn, James. \"Efficient implementation of first-class polymorphic methods in Java.\" (2005) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17822\">https://hdl.handle.net/1911/17822</a>."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/17822"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis describes a new implementation architecture for polymorphic methods in Generic Java using the NEXTGEN compiler framework. The standard Generic Java (Java 1.5) compiler erases generic types at compilation. This transformation prohibits type-dependent operations, limiting generic expressivity. Type erasure causes unchecked warnings at compilation, and unexpected behavior or exceptions at runtime. Alternative reflection-based implementations of Generic Java support type-dependent operations at the cost of significant execution overhead. In contrast, this work presents an efficient implementation of polymorphic methods using NEXTG EN. An extended NEXTGEN compiler generates snippet environment template classes to encode type-dependent operations for polymorphic methods. A customized class-loader generates specialized template instantiations on demand. This demand-driven code specialization provides an efficient mechanism to propagate runtime type information, while maintaining backwards compatibility with existing libraries and Java Virtual Machines. Benchmarks show runtime support for polymorphic methods in NEXTG EN outperforms reflection-based approaches, with runtime overhead comparable to erasure-based Generic Java."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["50 p."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Efficient implementation of first-class polymorphic methods in Java"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cartwright, Robert S."],"dc:creator":["Sasitorn, James"],"dc:date.accessioned":["2009-06-04T08:08:09Z"],"dc:date.available":["2009-06-04T08:08:09Z"],"dc:date.issued":["2005"],"dc:description.abstract":["This thesis describes a new implementation architecture for polymorphic methods in Generic Java using the NEXTGEN compiler framework. The standard Generic Java (Java 1.5) compiler erases generic types at compilation. This transformation prohibits type-dependent operations, limiting generic expressivity. Type erasure causes unchecked warnings at compilation, and unexpected behavior or exceptions at runtime. Alternative reflection-based implementations of Generic Java support type-dependent operations at the cost of significant execution overhead. In contrast, this work presents an efficient implementation of polymorphic methods using NEXTG EN. An extended NEXTGEN compiler generates snippet environment template classes to encode type-dependent operations for polymorphic methods. A customized class-loader generates specialized template instantiations on demand. This demand-driven code specialization provides an efficient mechanism to propagate runtime type information, while maintaining backwards compatibility with existing libraries and Java Virtual Machines. Benchmarks show runtime support for polymorphic methods in NEXTG EN outperforms reflection-based approaches, with runtime overhead comparable to erasure-based Generic Java."],"dc:format.extent":["50 p."],"dc:format.mimetype":["application/pdf"],"dc:identifier.callnumber":["THESIS COMP.SCI. 2005 SASITORN"],"dc:identifier.citation":["Sasitorn, James. \"Efficient implementation of first-class polymorphic methods in Java.\" (2005) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17822\">https://hdl.handle.net/1911/17822</a>."],"dc:identifier.uri":["https://hdl.handle.net/1911/17822"],"dc:language.iso":["eng"],"dc:rights":["Copyright 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:subject":["Computer science"],"dc:title":["Efficient implementation of first-class polymorphic methods in Java"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:24:19Z"}