• Cite Icon49
  • https://doi.org/10.1145/1075382.1075383Copy DOI Icon

The KaffeOS Java runtime system

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Single-language runtime systems, in the form of Java virtual machines, are widely deployed platforms for executing untrusted mobile code. These runtimes provide some of the features that operating systems provide: interapplication memory protection and basic system services. They do not, however, provide the ability to isolate applications from each other. Neither do they provide the ability to limit the resource consumption of applications. Consequently, the performance of current systems degrades severely in the presence of malicious or buggy code that exhibits ill-behaved resource usage. We show that Java runtime systems can be extended to support processes , and that processes can provide robust and efficient support for untrusted applications.We have designed and built KaffeOS, a Java runtime system that provides support for processes. KaffeOS isolates processes and manages the physical resources available to them: CPU and memory. Unlike existing Java virtual machines, KaffeOS can safely terminate processes without adversely affecting the integrity of the system, and it can fully reclaim a terminated process's resources. Finally, KaffeOS requires no changes to the Java language. The novel aspects of the KaffeOS architecture include the application of a user/kernel boundary as a structuring principle for runtime systems, the employment of garbage collection techniques for resource management and isolation, and a model for direct sharing of objects between untrusted applications. The difficulty in designing KaffeOS lay in balancing the goals of isolation and resource management against the goal of allowing direct sharing of objects.For the SpecJVM benchmarks, the overhead that our KaffeOS prototype incurs ranges from 0% to 25%, when compared to the open-source JVM on which it is based. We consider this overhead acceptable for the safety that KaffeOS provides. In addition, our KaffeOS prototype can scale to run more applications than running multiple JVMs. Finally, in the presence of malicious or buggy code that engages in a denial-of-service attack, KaffeOS can contain the attack, remove resources from the attacked applications, and continue to provide robust service to other clients.

Similar Papers
  • Conference Article

Venus: A visual Java Virtual Machine framework

  • Jul 01, 2009
  • Weimin Wu +4
  • Conference Article
  • Citations5

Querying Invisible Objects

  • Sep 27, 2017
  • Yin Liu +2
  • Conference Article

Preexistence and concrete type analysis in the context of multiple inheritance

  • Aug 29, 2016
  • Roland Ducournau +2
  • Research Article

Portable virtual cycle accounting for large-scale distributed cycle sharing systems

  • Feb 24, 2007
  • Parallel Computing
  • Hiroshi Yamauchi +1
  • Research Article
  • Citations78

Java runtime systems: characterization and architectural implications

  • Jan 01, 2001
  • IEEE Transactions on Computers
  • R Radhakrishnan +5
  • Single Report

Petascale Simulation Initiative Tech Base: FY2007 Final Report

  • Oct 26, 2007
  • J May +5
  • Research Article
  • Citations4

Providing soft real‐time quality of service guarantees for Java threads

  • Feb 12, 2003
  • Concurrency and Computation: Practice and Experience
  • James C Pang +2
  • Research Article
  • Citations27

Vehicular Cloud Resource Management, Issues and Challenges: A Survey

  • Jan 01, 2020
  • IEEE Access
  • Wiseborn M Danquah +1
  • Conference Article

Diva: A dataflow programming model and its runtime support in Java virtual machine

  • Aug 01, 2008
  • Yang Chen +3
  • Conference Article
  • Citations9

Secure management by delegation within the Internet management framework

  • May 24, 1999
  • J Schonwalder +1
  • Research Article

Computer simulation of the dynamics of heat release in diesel cylinders

  • Dec 01, 2022
  • Journal of Physics: Conference Series
  • Shamil Buzikov +2
  • Conference Article
  • Citations1

Enhancing the performance of assisted execution runtime systems through hardware/software techniques

  • Jun 25, 2012
  • Gokcen Kestor +4
  • Conference Article
  • Citations4

Securing Asynchronous Exceptions

  • Jun 01, 2020
  • Carlos Tome Cortinas +2
  • Research Article

Interactive Java Algorithms for Dynamic Visualization of Parallel Computing Threads

  • Feb 13, 2026
  • ACM Transactions on Parallel Computing
  • Liubov Evseeva +4
  • Research Article
  • Citations20

Rosette: An object-oriented concurrent systems architecture

  • Sep 26, 1988
  • ACM SIGPLAN Notices
  • C Tomlinson +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.