Affiliation:
1. ETH Zürich, Zurich, Switzerland
Abstract
Hardware performance monitors provide detailed direct feedback about application behavior and are an additional source of infor-mation that a compiler may use for optimization. A JIT compiler is in a good position to make use of such information because it is running on the same platform as the user applications. As hardware platforms become more and more complex, it becomes more and more difficult to model their behavior. Profile information that captures general program properties (like execution frequency of methods or basic blocks) may be useful, but does not capture sufficient information about the execution platform. Machine-level performance data obtained from a hardware performance monitor can not only direct the compiler to those parts of the program that deserve its attention but also determine if an optimization step actually improved the performance of the application.
This paper presents an infrastructure based on a dynamic compiler+runtime environment for Java that incorporates machine-level information as an additional kind of feedback for the compiler and runtime environment. The low-overhead monitoring system provides fine-grained performance data that can be tracked back to individual Java bytecode instructions. As an example, the paper presents results for object co-allocation in a generational garbage collector that optimizes spatial locality of objects on-line using measurements about cache misses. In the best case, the execution time is reduced by 14% and L1 cache misses by 28%.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference30 articles.
1. Perfmon project. http://www.hpl.hp.com/research/linux/perfmon/. Perfmon project. http://www.hpl.hp.com/research/linux/perfmon/.
2. IA-32 Intel Architecture Software Developer's Manual Volume 3: System Programming Guide. 2005. IA-32 Intel Architecture Software Developer's Manual Volume 3: System Programming Guide. 2005.
3. Prefetch inection based on hardware monitoring and object metadata
4. Implementing jalapeño in Java
5. The Jalapeño virtual machine
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Sampling optimized code for type feedback;Proceedings of the 16th ACM SIGPLAN International Symposium on Dynamic Languages;2020-11-15
2. Efficient Management for Hybrid Memory in Managed Language Runtime;Lecture Notes in Computer Science;2016
3. Exploiting Hardware Monitoring in Software Engineering;Advances in Computers;2014
4. Reconfigurable vertical profiling framework for the android runtime system;ACM Transactions on Embedded Computing Systems;2014-01
5. Detection of false sharing using machine learning;Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis;2013-11-17