Safe class sharing among Java processes
Author(s) -
Jens Krause,
Bernhard Plattner
Publication year - 2000
Publication title -
repository for publications and research data (eth zurich)
Language(s) - English
DOI - 10.3929/ethz-a-004287175
Subject(s) - class (philosophy) , java , computer science , programming language , artificial intelligence
The execution of multiple, mutually distrusting applications or multiple instances of the same application for different users in a Java Virtual Machine (JVM) requires a form of multi-processing which protects the integrity of the JVM as well as the integrity of individual applications. Existing solutions protect processes by loading application classes in dedicated process class loaders and by allowing sharing of only the core Java classes between processes. These techniques are costly in terms of memory consumption, startup time and inter-domain communication. This paper describes a new approach which overcomes these limitations. It proposes a byte code transformation which allows the safe sharing of application classes between processes even in the presence of static fields. The feasibility of our approach is verified in a quantitative performance evaluation.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom