{"title":"A trace-based Java JIT compiler for large-scale applications","authors":"H. Inoue","doi":"10.1145/2414740.2414742","DOIUrl":"https://doi.org/10.1145/2414740.2414742","url":null,"abstract":"Trace-based compilation uses dynamically-identified frequently-executed code sequences (traces) as units for compilation. We explore trace-based compilation in Java to see if a trace-based JIT compiler (trace-JIT) can address a limitation of method-based JIT compilers: limited compilation scope when dealing with those with largely flat execution profile. Although, trace-based compilation has gained popularity in dynamic scripting languages (e.g. TraceMonkey and pypy) or for embedded devices (e.g. Dalvik VM), the benefits and drawbacks of trace-JIT for large-scale applications have not yet been studied. We first describe the design and implementation of our trace-JIT with emphasis on efficient trace selection and code generation. Then we discuss how the trace selection algorithm affects the performance of a large-scale Java application server.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-10-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129918606","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards performance measurements for the Java Virtual Machine's invokedynamic","authors":"Chanwit Kaewkasi","doi":"10.1145/1941054.1941057","DOIUrl":"https://doi.org/10.1145/1941054.1941057","url":null,"abstract":"This paper presents a study of a Java Virtual Machine prototype from the Da Vinci Machine project, defined by JSR 292. It describes binary translation techniques to prepare benchmarks to run on the invokedynamic mode of the prototype, resulting in the invokedynamic version of the SciMark 2.0 suite. Benchmark preparation techniques presented in this paper are proven to be useful as the invokedynamic version of benchmark programs successfully identified strange slowness behavior of the invokedynamic mode of the server virtual machine.\u0000 Surprisingly, benchmarking results show that the invoke-dynamic mode with direct method handles on the server virtual machine is just 2-5 times slower than native Java invocations, except the Monte Carlo benchmark. But this mode on the client virtual machine still requires further performance tuning.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"40 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127208110","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"The architecture of the DecentVM: towards a decentralized virtual machine for many-core computing","authors":"Annette Bieniusa, J. Eickhold, T. Fuhrmann","doi":"10.1145/1941054.1941059","DOIUrl":"https://doi.org/10.1145/1941054.1941059","url":null,"abstract":"Fully decentralized systems avoid bottlenecks and single points of failure. Thus, they can provide excellent scalability and very robust operation. The DecentVM is a fully decentralized, distributed virtual machine. Its simplified instruction set allows for a small VM code footprint. Its partitioned global address space (PGAS) memory model helps to easily create a single system image (SSI) across many processors and processor cores. Originally, the VM was designed for networks of embedded 8-bit processors. Meanwhile, it also aims at clusters of many core processors. This paper gives a brief overview of the DecentVM architecture.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126191600","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Systematic mapping study on high-level language virtual machines","authors":"Vinicius H. S. Durelli, K. Felizardo, M. Delamaro","doi":"10.1145/1941054.1941058","DOIUrl":"https://doi.org/10.1145/1941054.1941058","url":null,"abstract":"Background: There is a large body of literature on research in virtual machine for high-level languages, i.e., high-level language virtual machines (HLL VMs). Despite being a well-established research area, there are no studies focusing on characterizing the sorts of research that have been conducted and shedding light on most investigated subjects as well as subjects requiring further research.\u0000 Objectives: To conduct a systematic mapping study of the literature describing research into HLL VM. Research method: We undertook a systematic mapping study of the literature based upon searching of major electronic databases.\u0000 Results: 128 papers have been selected and classified by their contribution, employed HLL VM implementation, type and date of publication.\u0000 Conclusions: The majority of the selected studies concentrate on improvements for boosting performance, introducing better garbage collection capabilities, and adapting HLL VMs or their core components to meet the requirements for embedded platforms. Furthermore, from examining the selected studies we have found that Java virtual machine (JVM) implementations are by far the most employed within academic settings. Among them, Jikes Research Virtual Machine is the most-widely used.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"125 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130299372","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Sal/Svm: an assembly language and virtual machine for computing with non-enumerated sets","authors":"Phillip Stanley-Marbell","doi":"10.1145/1941054.1941055","DOIUrl":"https://doi.org/10.1145/1941054.1941055","url":null,"abstract":"Presented is the design, implementation and evaluation of a system for computing with non-enumerative set representations. The implementation is in the form of a set assembly language (Sal) whose operations correspond to an implementation of the algebra of sets, with minimal added syntactic sugar; a compiler (Salc) for validation and static optimization of Sal definitions; and a virtual machine architecture (Svm) for executing Sal definitions.\u0000 Sal/Svm has turned out to be a surprisingly versatile framework for a growing number of problems. One such application, as a framework for declaratively specifying computational problems with the same level of precision that traditional machine languages enable the specification of computational algorithms, is presented.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116935791","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Optimizing the evaluation of patterns in pointcuts","authors":"R. Bijker, Christoph Bockisch, Andreas Sewe","doi":"10.1145/1941054.1941056","DOIUrl":"https://doi.org/10.1145/1941054.1941056","url":null,"abstract":"Pointcuts in aspect-oriented programming languages specify runtime events which cause execution of additional functionality. Hereby, pointcuts typically have a pattern-based static component selecting instructions whose execution triggers an event, e.g., a pattern that selects method-call instructions based on the target method's name. Current implementations realize identification of matching instructions by examining all instructions in the executed program and matching them against all patterns found in the program's pointcuts. But such an implementation is slow. An optimized implementation is therefore highly desirable in runtime environments which support the dynamic deployment of aspects; slow pattern evaluation invariably causes a slowdown of the entire application.\u0000 The patterns used in pointcuts as well as the signatures against they are matched, i.e., method, constructor, and field signatures, are well structured. We present two case studies that survey patterns and signatures actually occurring in the wild. From the resulting data we derive several heuristics that can drive pattern-evaluation optimizations, both by creating indexes over the relevant instructions and by optimizing the order in which the sub-patterns are evaluated.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128740974","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Challenging VMs on battery-powered embedded devices","authors":"Roel Wuyts","doi":"10.1145/1711506.1711511","DOIUrl":"https://doi.org/10.1145/1711506.1711511","url":null,"abstract":"Many consumer devices, such as portable game consoles or cellphones, can be described as battery-powered wireless embedded devices. Many of these are not taking advantage of virtual machines, certainly not for their core tasks, instead relying on C or close derivatives for implementing their behaviour. However, faced with software that becomes more and more dynamic and hardware that is increasingly heterogeneous, the move to virtual machines is as necessary as it is unavoidable. From our own experience in developing software for battery-powered embedded devices we describe features that these upcoming virtual machines should possess in order to win over the embedded crowd and be a viable competitor against C, not just the only viable option.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"110 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115458695","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Bytecodes meet combinators: invokedynamic on the JVM","authors":"John R. Rose","doi":"10.1145/1711506.1711508","DOIUrl":"https://doi.org/10.1145/1711506.1711508","url":null,"abstract":"The Java Virtual Machine (JVM) has been widely adopted in part because of its classfile format, which is portable, compact, modular, verifiable, and reasonably easy to work with. However, it was designed for just one language---Java---and so when it is used to express programs in other source languages, there are often \"pain points\" which retard both development and execution. The most salient pain points show up at a familiar place, the method call site.\u0000 To generalize method calls on the JVM, the JSR 292 Expert Group has designed a new invokedynamic instruction that provides user-defined call site semantics. In the chosen design, invokedynamic serves as a hinge-point between two coexisting kinds of intermediate language: bytecode containing dynamic call sites, and combinator graphs specifying call targets. A dynamic compiler can traverse both representations simultaneously, producing optimized machine code which is the seamless union of both kinds of input. As a final twist, the user-defined linkage of a call site may change, allowing the code to adapt as the application evolves over time. The result is a system balancing the conciseness of bytecode with the dynamic flexibility of function pointers.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"127 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121547998","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Virtual class support at the virtual machine level","authors":"A. B. Nielsen, Erik Ernst","doi":"10.1145/1711506.1711507","DOIUrl":"https://doi.org/10.1145/1711506.1711507","url":null,"abstract":"This paper describes how virtual classes can be supported in a virtual machine. Main-stream virtual machines such as the Java Virtual Machine and the .NET platform dominate the world today, and many languages are being executed on these virtual machines even though their embodied design choices conflict with the design choices of the virtual machine. For instance, there is a non-trivial mismatch between the main-stream virtual machines mentioned above and dynamically typed languages. One language concept that creates an even greater mismatch is virtual classes, in particular because fully general support for virtual classes requires generation of new classes at run-time by mixin composition. Languages like CaesarJ and Object Teams can express virtual classes restricted to the subset that does not require run-time generation of classes, because of the restrictions imposed by the Java Virtual Machine. We have chosen to support virtual classes by implementing a specialized virtual machine, and this paper describes how this virtual machine supports virtual classes with full generality.","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131259110","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Intermediate language design of high-level language virtual machines: towards comprehensive concurrency support","authors":"Stefan Marr, M. Haupt, T. D'Hondt","doi":"10.1145/1711506.1711509","DOIUrl":"https://doi.org/10.1145/1711506.1711509","url":null,"abstract":"Today's major high-level language virtual machines (VMs) are becoming successful in being multi-language execution platforms, hosting a wide range of languages. With the transition from few-core to many-core processors, we argue that VMs will also have to abstract from concrete concurrency models at the hardware level, to be able to support a wide range of abstract concurrency models on a language level. To overcome the lack of sufficient abstractions for concurrency concepts in VMs, we proposed earlier to extend VM intermediate languages by special concurrency constructs [Marr et al. 2009].","PeriodicalId":367935,"journal":{"name":"Virtual Machines and Intermediate Languages for Emerging Modularization Mechanisms","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114160574","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}