Back to Search Start Over

Portable and Accurate Collection of Calling-Context-Sensitive Bytecode Metrics for the Java Virtual Machine

Authors :
Sarimbekov, Aibek
Sewe, Andreas
Binder, Walter
Moret, Philippe
Schoeberl, Martin
Mezini, Mira
Sarimbekov, Aibek
Sewe, Andreas
Binder, Walter
Moret, Philippe
Schoeberl, Martin
Mezini, Mira
Source :
Sarimbekov , A , Sewe , A , Binder , W , Moret , P , Schoeberl , M & Mezini , M 2011 , Portable and Accurate Collection of Calling-Context-Sensitive Bytecode Metrics for the Java Virtual Machine . in Proceedings of the 9th International Conference on the Principles and Practice of Programming in Java (PPPJ 2011) . ACM , 9th International Conference on the Principles and Practice of Programming in Java , Kongens Lyngby , Denmark , 24/08/2011 . <
Publication Year :
2011

Abstract

Calling-context profiles and dynamic metrics at the bytecode level are important for profiling, workload characterization, program comprehension, and reverse engineering. Prevailing tools for collecting calling-context profiles or dynamic bytecode metrics often provide only incomplete information or suffer from limited compatibility with standard JVMs. However, completeness and accuracy of the profiles is essential for tasks such as workload characterization, and compatibility with standard JVMs is important to ensure that complex workloads can be executed. In this paper, we present the design and implementation of JP2, a new tool that profiles both the inter- and intra-procedural control flow of workloads on standard JVMs. JP2 produces calling-context profiles preserving callsite information, as well as execution statistics at the level of individual basic blocks of code. JP2 is complemented with scripts that compute various dynamic bytecode metrics from the profiles. As a case-study and tutorial on the use of JP2, we use it for crossprofiling for an embedded Java processor.

Details

Database :
OAIster
Journal :
Sarimbekov , A , Sewe , A , Binder , W , Moret , P , Schoeberl , M &amp; Mezini , M 2011 , Portable and Accurate Collection of Calling-Context-Sensitive Bytecode Metrics for the Java Virtual Machine . in Proceedings of the 9th International Conference on the Principles and Practice of Programming in Java (PPPJ 2011) . ACM , 9th International Conference on the Principles and Practice of Programming in Java , Kongens Lyngby , Denmark , 24/08/2011 . <
Notes :
application/pdf, English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1110495967
Document Type :
Electronic Resource