ELF-based code storage support for the Eclipse OMR Ahead-of-Time compiler: a WebAssembly use case
dc.contributor.advisor | Dueck, Gerhard | |
dc.contributor.advisor | Kent, Kenneth | |
dc.contributor.author | D’monte, Damian Diago | |
dc.date.accessioned | 2023-03-01T16:26:30Z | |
dc.date.available | 2023-03-01T16:26:30Z | |
dc.date.issued | 2021 | |
dc.date.updated | 2023-03-01T15:02:14Z | |
dc.description.abstract | Over the years, Ahead-of-Time (AOT) compilation has drawn significant attention in the research community due to its ability to accelerate the startup of a runtime system. AOT compilation involves compiling, persisting and re-using existing compiled code in later runs, thereby avoiding costly re-compilation. Typically, a program is compiled and translated into machine language or native code, which persists in a binary container format. At present, the most commonly used code container options are either cache-based or object-based. Eclipse OMR is a collection of components, which are used to build robust language runtimes. The WebAssembly AOT compiler (wabtaot) is constructed using the Eclipse OMR JitBuilder library. Currently, the wabtaot compiled code is stored in a prototype of the Eclipse OMR shared cache. The goal of this research is to find a better lightweight AOT code storage option for resource-constrained systems. To achieve this goal, the Eclipse OMR ELF generation module is enhanced by implementing an ELF shared object generator that can store AOT data and use it as part of the Eclipse OMR AOT component. The design and implementation of the ELF shared object for Eclipse OMR is discussed and demonstrated using wabtaot. Evaluation is carried out by comparing the ELF shared-object approach with the existing shared cache in the wabtaot environment on metrics like execution speed, memory footprint, file size and sharing. By doing so, the execution time trade-offs, lower memory consumption and compact-size ELF objects are witnessed, thereby indicating a possibility of using the lightweight ELF shared objects in resource-constrained systems. | |
dc.description.copyright | © Damian Diago D’monte, 2021 | |
dc.format | text/xml | |
dc.format.extent | xi, 68 pages | |
dc.format.medium | electronic | |
dc.identifier.uri | https://unbscholar.lib.unb.ca/handle/1882/13847 | |
dc.language.iso | en_CA | |
dc.publisher | University of New Brunswick | |
dc.rights | http://purl.org/coar/access_right/c_abf2 | |
dc.subject.discipline | Computer Science | |
dc.title | ELF-based code storage support for the Eclipse OMR Ahead-of-Time compiler: a WebAssembly use case | |
dc.type | master thesis | |
thesis.degree.discipline | Computer Science | |
thesis.degree.fullname | Master of Computer Science | |
thesis.degree.grantor | University of New Brunswick | |
thesis.degree.level | masters | |
thesis.degree.name | M.C.S. |
Files
Original bundle
1 - 1 of 1