Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Mostly Accurate Stack Scanning

The Java Virtual Machine (Jvm) needs, for the purpose of garbage collection (GC), to determine the data type stored in every memory location. Jvms that can do this reliably are said to be type-accurate (TA). Full type accuracy usually exacts a price in performance due to the need to scan stacks and registers accurately. The mostly accurate approach presented here can reduce the TA overhead significantly by sacrificing accuracy for the small minority of memory locations that add the most to the cost. Performance results show that mostly accurate stack scanning performs as well as conservative stack scanning and that relatively few objects are identified conservatively. In addition our implementation is designed to support and generate type maps for any verifiable bytecode stream (including combinations that are unlikely to be produced by a compiler) without requiring rewriting of the bytecode. We introduce a new compression technique for type maps that uses a program-friendly format for the maps; yet, achieves good compression and provides fast opening of compressed maps. We show how to apply systematic testing techniques and test coverage tools to an accurate stack scanner.

Katherine Barabash, IBM Haifa Research Laboratory

Niv Buchbinder, IBM Haifa Research Laboratory

Tamar Domani, IBM Haifa Research Laboratory

Elliot K. Kolodner, IBM Haifa Research Laboratory

Yoav Ossia, IBM Haifa Research Laboratory

Shlomit S. Pinter, IBM Haifa Research Laboratory

Janice Shepherd, IBM T.J. Watson Research Laboratory

Ron Sivan, IBM Haifa Research Laboratory

Victor Umansky, Sangate Israel

BibTeX
@inproceedings {271000,
author = {Katherine Barabash and Niv Buchbinder and Tamar Domani and Elliot K. Kolodner and Yoav Ossia and Shlomit S. Pinter and Janice Shepherd and Ron Sivan and Victor Umansky},
title = {Mostly Accurate Stack Scanning},
booktitle = {Java (TM) Virtual Machine Research and Technology Symposium (JVM 01)},
year = {2001},
address = {Monterey, CA},
url = {https://www.usenix.org/conference/jvm-01/mostly-accurate-stack-scanning},
publisher = {USENIX Association},
month = apr
}
Download

Links

Paper: 
http://www.usenix.org/events/jvm01/full_papers/barabash/barabash.pdf
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us