Automatically extracting templates for testing Java JIT compilers

dc.contributor.advisorGligoric, Milos
dc.creatorWiatrek, Nathaniel Brett
dc.creator.orcid0000-0002-8635-375X
dc.date.accessioned2022-09-30T15:46:49Z
dc.date.available2022-09-30T15:46:49Z
dc.date.created2021-08
dc.date.issued2021-08-12
dc.date.submittedAugust 2021
dc.date.updated2022-09-30T15:46:50Z
dc.description.abstractThe Java programming language is widely used in industry and academia. Since the language is object-oriented and platform independent, it is a perfect solution to deliver a variety of programs. To increase performance, Java optimizes running software with the use of just-in-time (JIT) compilation, in which the JIT compiler will generate new code that is more streamlined. If there is a bug in this newly generated code there could be significant consequences. To validate JIT correctness JITAttack was developed, which leverages program templates to test compilers (such as Java JIT). These templates are currently manually-written and time-intensive to create. We present a tool, JITTEMPLATER, that is designed to take in a Java program and create templates to be used with JITAttack’s JIT compiler testing. JITTEMPLATER parses the Abstract Syntax Tree of the given Java file to convert statements and expressions to their equivalent in JITAttack’s API. JITTEMPLATER is part of a larger process that takes in a real-world Java project to convert into a project of templates for testing purposes. The automation of template extraction leads to novel and interesting inputs to be used with JITAttack. To date, we have found three bugs utilizing real-world Java programs that were extracted by JITTEMPLATER.
dc.description.departmentElectrical and Computer Engineering
dc.format.mimetypeapplication/pdf
dc.identifier.urihttps://hdl.handle.net/2152/116021
dc.identifier.urihttp://dx.doi.org/10.26153/tsw/42917
dc.language.isoen
dc.subjectJIT
dc.subjectJava
dc.subjectCompiler testing
dc.titleAutomatically extracting templates for testing Java JIT compilers
dc.typeThesis
dc.type.materialtext
local.embargo.lift2023-08-01
local.embargo.terms2023-08-01
thesis.degree.departmentElectrical and Computer Engineering
thesis.degree.disciplineElectrical and Computer Engineering
thesis.degree.grantorThe University of Texas at Austin
thesis.degree.levelMasters
thesis.degree.nameMaster of Science in Engineering

Access full-text files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
WIATREK-MASTERSREPORT-2021.pdf
Size:
212.61 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
LICENSE.txt
Size:
1.85 KB
Format:
Plain Text
Description: