首页 | 本学科首页   官方微博 | 高级检索  
     


Workload characterization of JVM languages
Authors:Aibek Sarimbekov  Lukas Stadler  Lubomír Bulej  Andreas Sewe  Andrej Podzimek  Yudi Zheng  Walter Binder
Affiliation:1. Università della Svizzera italiana (USI), Lugano, Switzerland;2. Johannes Kepler Universit?t Linz, Linz, Austria;3. Charles University, Prague, Czech Republic;4. Technische Universit?t Darmstadt, Darmstadt, Germany
Abstract:Originally developed with a single language in mind, the JVM is now targeted by numerous programming languages—its automatic memory management, just‐in‐time compilation, and adaptive optimizations—making it an attractive execution platform. However, the garbage collector, the just‐in‐time compiler, and other optimizations and heuristics were designed primarily with the performance of Java programs in mind. Consequently, many of the languages targeting the JVM, and especially the dynamically typed languages, are suffering from performance problems that cannot be simply solved at the JVM side. In this article, we aim to contribute to the understanding of the character of the workloads imposed on the JVM by both dynamically typed and statically typed JVM languages. To this end, we introduce a new set of dynamic metrics for workload characterization, along with an easy‐to‐use toolchain to collect the metrics. We apply the toolchain to applications written in six JVM languages (Java, Scala, Clojure, Jython, JRuby, and JavaScript) and discuss the findings. Given the recently identified importance of inlining for the performance of Scala programs, we also analyze the inlining behavior of the HotSpot JVM when executing bytecode originating from different JVM languages. As a result, we identify several traits in the non‐Java workloads that represent potential opportunities for optimization. © 2015 The Authors. Software: Practice and Experience Published by John Wiley & Sons Ltd.
Keywords:workload characterization  dynamic metrics  JVM languages  dynamic program analysis
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号