MicroJIT: a lightweight just-in-time compiler to improve startup times

dc.contributor.advisorKent, Kenneth
dc.contributor.advisorAubanel, Eric
dc.contributor.authorSogaro, Federico
dc.date.accessioned2023-03-01T16:16:14Z
dc.date.available2023-03-01T16:16:14Z
dc.date.issued2016
dc.date.updated2023-03-01T15:01:04Z
dc.description.abstractThe startup phase of an application represents a tiny fraction of the total runtime, but it is considered, nevertheless, a critical phase for both client and server environments. In the JVM, the Just-in-Time compiler (JIT) translates Java bytecodes to native machine code to improve the performances of an application. This thesis investigates whether using two different JIT compilers in the same JVM can improve startup time. A lightweight JIT system (i.e. MicroJIT) has been integrated into the J9 JVM and it has been set up to perform an initial, low-optimized, but fast compilation while, at a latter time, the standard JIT recompiles Java bytecodes with better, but more expensive, optimizations. This solution has been evaluated using different benchmarks and metrics and has been compared to the JVM in different configurations: default configuration, standard JIT tuned for optimal startup time (option Xquickstart) and executing the Java application with Ahead-of-Time code available from the Shared Class Cache. Experimental results show that enabling MicroJIT, compared to the default configuration, significantly reduces the startup time of the considered benchmarks but with a cost in memory usage and, in some cases, a reduction in throughput performance. The solution presented in this thesis does not improve the startup time as much as the other solution already implemented in the JVM, however in some conditions it could be the best option since, the penalty on throughput performance is less than the one caused by using the option Xquickstart to tune the main JIT system for optimal startup time, and it does not require the presence of the Shared Class Cache.
dc.description.copyright© Federico Sogaro, 2016
dc.formattext/xml
dc.format.extentxii, 98 pages
dc.format.mediumelectronic
dc.identifier.urihttps://unbscholar.lib.unb.ca/handle/1882/13187
dc.language.isoen_CA
dc.publisherUniversity of New Brunswick
dc.rightshttp://purl.org/coar/access_right/c_abf2
dc.subject.disciplineComputer Science
dc.titleMicroJIT: a lightweight just-in-time compiler to improve startup times
dc.typemaster thesis
thesis.degree.disciplineComputer Science
thesis.degree.fullnameMaster of Computer Science
thesis.degree.grantorUniversity of New Brunswick
thesis.degree.levelmasters
thesis.degree.nameM.C.S.

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
item.pdf
Size:
661.72 KB
Format:
Adobe Portable Document Format