Optimized arraycopy implementation for improved runtime performance of OpenJ9 in AArch64
dc.contributor.advisor | Dueck, Gerhard | |
dc.contributor.advisor | Kent, Kenneth | |
dc.contributor.author | Ponangi, Siri Sahithi | |
dc.date.accessioned | 2023-09-20T12:58:34Z | |
dc.date.available | 2023-09-20T12:58:34Z | |
dc.date.issued | 2022-04 | |
dc.description.abstract | The Eclipse OMR – OpenJ9 pair is used to build robust language runtimes that support various hardware and operating system platforms. One of the architectures supported by OpenJ9, the AArch64 platform, is widely used in electronic devices because of its reasonable price and resource efficiency. We propose adding an optimization in the Just-In-Time (JIT) compiler of OpenJ9, to copy arrays, including the System.arraycopy() method, efficiently through the arraycopyEvaluator. The arraycopy nodes generated from the bytecode in Intermediate Language (IL) during runtime help in copying values from a specified source to the referenced destination of a given length. The optimizing JIT compiler function, arraycopyEvaluator, separates inlinable code for better performance. Making use of Vector Floating Point registers helps in copying up to 128 bits of any data type in a single load/store instruction. The situations where primitive values are copied or Garbage Collection checks are required to access the reference fields are handled. A comparision of optimized loops with traditional copying—using Java Class Library function System.arraycopy and a loop, without arraycopy optimization in JIT is investigated. We evaluate the benchmark results of the DaCapo Benchmark Suite and the BumbleBench Microbenchmarking test framework. We investigate the trace files and utilize the Perf tool to identify the reason for unexpected Benchmark results. We achieve an up to tenfold increase in performance. Also, we evaluate the performance improvement on AArch64, with arraycopyEvaluator added, against x86 64. Compared to x86 64, AArch64 shows an improvement of up to 45.7%. | |
dc.description.copyright | © Siri Sahithi Ponangi, 2022 | |
dc.format.extent | xiii, 109 | |
dc.format.medium | electronic | |
dc.identifier.oclc | (OCoLC)1418996825 | en |
dc.identifier.other | Thesis 10978 | en |
dc.identifier.uri | https://unbscholar.lib.unb.ca/handle/1882/37429 | |
dc.language.iso | en | |
dc.publisher | University of New Brunswick | |
dc.relation | Atlantic Canada Opportunities Agency (ACOA) | |
dc.relation | Atlantic Innovation Fund (AIF) | |
dc.relation | New Brunswick Innovation Foundation | |
dc.rights | http://purl.org/coar/access_right/c_abf2 | |
dc.subject.discipline | Computer Science | |
dc.subject.lcsh | Virtual computer systems. | en |
dc.subject.lcsh | Java (Computer program language) | en |
dc.subject.lcsh | High performance computing. | en |
dc.title | Optimized arraycopy implementation for improved runtime performance of OpenJ9 in AArch64 | |
dc.type | master thesis | |
oaire.license.condition | other | |
thesis.degree.discipline | Computer Science | |
thesis.degree.grantor | University of New Brunswick | |
thesis.degree.level | masters | |
thesis.degree.name | M.C.S. |