Just-in-Time Compilation-Inspired Methodology for Parallelization of Compute Intensive Java Code
Journal Title: Mehran University Research Journal of Engineering and Technology - Year 2017, Vol 36, Issue 1
Abstract
Compute intensive programs generally consume significant fraction of execution time in a small amount of repetitive code. Such repetitive code is commonly known as hotspot code. We observed that compute intensive hotspots often possess exploitable loop level parallelism. A JIT (Just-in-Time) compiler profiles a running program to identify its hotspots. Hotspots are then translated into native code, for efficient execution. Using similar approach, we propose a methodology to identify hotspots and exploit their parallelization potential on multicore systems. Proposed methodology selects and parallelizes each DOALL loop that is either contained in a hotspot method or calls a hotspot method. The methodology could be integrated in front-end of a JIT compiler to parallelize sequential code, just before native translation. However, compilation to native code is out of scope of this work. As a case study, we analyze eighteen JGF (Java Grande Forum) benchmarks to determine parallelization potential of hotspots. Eight benchmarks demonstrate a speedup of up to 7.6x on an 8-core system.
Authors and Affiliations
Ghulam Mustafa, Waqar Mahmood, Muhammad Usman Ghani
Effect of Cryogenic Treatment on Mechanical Properties of AISI 4340 and AISI 4140 Steel
From last epoch till to date, AISI 4340 and AISI 4140 have been widely used in different engineering applications. These applications include bolt, screws, gears, drive shafts, crane shaft and piston rods for engines due...
On (Non) Applicability of a Mode-Truncation of a Damped Traveling String
This study investigates a linear homogeneous initial-boundary value problem for a traveling string under linear viscous damping. The string is assumed to be traveling with constant speed, while it is fixed at both ends....
THD Minimization from H-Bridge Cascaded Multilevel Inverter Using Particle Swarm Optimization Technique
In this paper, PSO (Particle Swarm Optimization) based technique is proposed to derive optimized switching angles that minimizes the THD (Total Harmonic Distortion) and reduces the effect of selected low order non-triple...
Evaluation of Mesh of Liberation of Zard Koh and Kulli Koh Iron Ores of Pakistan
Liberation size plays a significant role to select a correct and successful concentration method for natural iron ores. This paper aims to evaluate the liberation size of two newly discovered iron ores, namely Zard Koh a...
Enhancing Knowledge and Bounce Rate in SERPs Using Micro-Data
Internet has revolutionized the human life. SEs (Search Engines) are one of the major tools being used for finding information over the Internet. SEs enlist the information into links as per relevance to the searched que...