Program transformations for portable CPU accounting and control in Java

  • Authors:
  • Jarle Hulaas;Walter Binder

  • Affiliations:
  • Swiss Federal Institute of Technology Lausanne (EPFL), Lausanne, Switzerland;Swiss Federal Institute of Technology Lausanne (EPFL), Lausanne, Switzerland

  • Venue:
  • Proceedings of the 2004 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we introduce a novel scheme for portable CPU accounting and control in Java, which is based on program transformation techniques at the bytecode level and can be used with every standard Java Virtual Machine. In our approach applications, middleware, and the standard java runtime libraries (i.e., the Java Development Kit, or JDK) are modified in order to expose details regarding the execution of threads. This paper presents the details of how we re-engineer Java bytecode for CPU management, including the strategies developed for transforming the JDK itself in a fully portable way.