Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1014007.1014024acmconferencesArticle/Chapter ViewAbstractPublication PagespepmConference Proceedingsconference-collections
Article

Program transformations for portable CPU accounting and control in Java

Published: 24 August 2004 Publication History

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.

References

[1]
G. Back, W. Hsieh, and J. Lepreau. Processes in KaffeOS: Isolation, resource management, and sharing in Java. In Proceedings of the Fourth Symposium on Operating Systems Design and Implementation (OSDI'2000), San Diego, CA, USA, Oct. 2000.
[2]
W. Binder and V. Calderon. Creating a resource-aware JDK. In ECOOP 2002 Workshop on Resource Management for Safe Languages, Malaga, Spain, June 2002. http://www.ovmj.org/workshops/resman/.
[3]
W. Binder, J. Hulaas, A. Villazón, and R. Vidal. Portable resource control in Java: The J-SEAL2 approach. In ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA-2001), Tampa Bay, Florida, USA, Oct. 2001.
[4]
W. Binder and B. Lichtl. Using a secure mobile object kernel as operating system on embedded devices to support the dynamic upload of applications. Lecture Notes in Computer Science, 2535, 2002.
[5]
G. Czajkowski and L. Daynès. Multitasking without compromise: A virtual machine evolution. In ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA'01), Tampa Bay, Florida, Oct. 2001.
[6]
G. Czajkowski and T. von Eicken. JRes: A resource accounting interface for Java. In Proceedings of the 13th Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA-98), volume 33, 10 of ACM SIGPLAN Notices, pages 21--35, New York, USA, Oct. 18--22 1998. ACM Press.
[7]
M. Feeley. Polling efficiently on stock hardware. In the 1993 ACM SIGPLAN Conference on Functional Programming and Computer Architecture, Copenhagen, Denmark, pages 179--187, 1993.
[8]
J. Gosling, B. Joy, G. L. Steele, and G. Bracha. The Java language specification. Java series. Addison-Wesley, Reading, MA, USA, second edition, 2000.
[9]
Java Community Process. JSR 121 -- Application Isolation API Specification. Web pages at http://jcp.org/jsr/detail/121.jsp.
[10]
T. Lindholm and F. Yellin. The Java Virtual Machine Specification. Addison-Wesley, Reading, MA, USA, second edition, 1999.
[11]
N. Suri, J. M. Bradshaw, M. R. Breedy, P. T. Groth, G. A. Hill, R. Jeffers, T. S. Mitrovich, B. R. Pouliot, and D. S. Smith. NOMADS: toward a strong and safe mobile agent system. In C. Sierra, G. Maria, and J. S. Rosenschein, editors, Proceedings of the 4th International Conference on Autonomous Agents (AGENTS-00), pages 163--164, NY, June 3--7 2000. ACM Press.
[12]
The Standard Performance Evaluation Corporation. SPEC JVM98 Benchmarks. Web pages at http://www.spec.org/osg/jvm98/.

Cited By

View all
  • (2013)Increasing the Transparent Page Sharing in Java2013 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)10.1109/ISPASS.2013.6557144(34-44)Online publication date: Apr-2013
  • (2012)A Framework for Detecting Anomalous Services in OSGi-Based ApplicationsProceedings of the 2012 IEEE Ninth International Conference on Services Computing10.1109/SCC.2012.59(250-257)Online publication date: 24-Jun-2012
  • (2010)Component Monitoring of OSGi-Based Software2010 IEEE 7th International Conference on E-Business Engineering10.1109/ICEBE.2010.15(250-255)Online publication date: Nov-2010
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
PEPM '04: Proceedings of the 2004 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation
August 2004
212 pages
ISBN:1581138350
DOI:10.1145/1014007
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 August 2004

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Java
  2. bytecode engineering
  3. program transformations
  4. resource management

Qualifiers

  • Article

Conference

PEPM04
Sponsor:

Acceptance Rates

Overall Acceptance Rate 66 of 120 submissions, 55%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)1
Reflects downloads up to 18 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2013)Increasing the Transparent Page Sharing in Java2013 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)10.1109/ISPASS.2013.6557144(34-44)Online publication date: Apr-2013
  • (2012)A Framework for Detecting Anomalous Services in OSGi-Based ApplicationsProceedings of the 2012 IEEE Ninth International Conference on Services Computing10.1109/SCC.2012.59(250-257)Online publication date: 24-Jun-2012
  • (2010)Component Monitoring of OSGi-Based Software2010 IEEE 7th International Conference on E-Business Engineering10.1109/ICEBE.2010.15(250-255)Online publication date: Nov-2010
  • (2008)Monitoring External Resources in Java MIDPElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2007.10.011197:1(17-30)Online publication date: 1-Feb-2008
  • (2008)Program transformations for light-weight CPU accounting and control in the Java virtual machineHigher-Order and Symbolic Computation10.1007/s10990-008-9026-421:1-2(119-146)Online publication date: 1-Jun-2008
  • (2007)Optimized, decentralized workflow execution in grid environmentsMultiagent and Grid Systems10.5555/1375627.13756283:3(259-279)Online publication date: 1-Aug-2007
  • (2007)Relating the Evolution of Design Patterns and Crosscutting ConcernsProceedings of the Seventh IEEE International Working Conference on Source Code Analysis and Manipulation10.1109/SCAM.2007.20(180-192)Online publication date: 30-Sep-2007
  • (2007)The Weight-Watcher Service and its Lightweight Implementation2007 International Conference on Embedded Computer Systems: Architectures, Modeling and Simulation10.1109/ICSAMOS.2007.4285742(118-127)Online publication date: Jul-2007
  • (2007)Portable virtual cycle accounting for large-scale distributed cycle sharing systemsParallel Computing10.1016/j.parco.2007.02.01233:4-5(314-327)Online publication date: 1-May-2007
  • (2006)Portable and accurate sampling profiling for JavaSoftware10.5555/1133013.113301636:6(615-650)Online publication date: 1-May-2006
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media