The Community for Technology Leaders
2003 Symposium on Security and Privacy, 2003. (2003)
Berkeley, CA
May 11, 2003 to May 14, 2003
ISSN: 1540-7993
ISBN: 0-7695-1940-7
pp: 263
David W. Price , Rice University
Algis Rudys , Rice University
Dan S. Wallach , Rice University
Language run-time systems are often called upon to safely execute mutually distrustful tasks within the same runtime, protecting them from other tasks? bugs or otherwise hostile behavior. Well-studied access controls exist in systems such as Java to prevent unauthorized reading or writing of data, but techniques to measure and control resource usage are less prevalent. In particular, most language run-time systems include no facility to account for and regulate heap memory usage on a per-task basis. This oversight can be exploited by a misbehaving task, which might allocate and hold live enough memory to cause a denial-of-service attack, crashing or slowing down other tasks. In addition, tasks can legitimately share references to the same objects, and traditional approaches that charge memory to its allocator fail to properly account for this sharing. We present a method for modifying the garbage collector, already present in most modern language run-time systems, to measure the amount of live memory reachable from each task as it performs its regular duties. Our system naturally distinguishes memory shared across tasks from memory reachable from only a single task without requiring incompatible changes to the semantics of the programming language. Our prototype implementation imposes negligible performance overheads in a variety of benchmarks, yet provides enough information for the expression of rich policies to express the limits on a task?s memory usage.

D. S. Wallach, A. Rudys and D. W. Price, "Garbage Collector Memory Accounting in Language-Based Systems," 2003 Symposium on Security and Privacy, 2003.(SP), Berkeley, CA, 2003, pp. 263.
90 ms
(Ver 3.3 (11022016))