Supporting object accesses in a Java processor

Vijaykrishnan Narayanan, N. Ranganathan

Research output: Contribution to journalArticle

18 Scopus citations

Abstract

Due to Java's object-based nature and support for garbage collection, efficient object manipulation and relocation are critical to the execution speed of Java code. Java Virtual Machine implementations that utilize handle representation such as Sun's Java Development Kit 1.1 enable efficient object relocation at the cost of an additional indirection for each object access. The direct address object representations such as those used in CACAO and NET compiler eliminate the indirection overhead, but update during object relocation is complex. A virtual address object cache that reduces the indirection overhead while maintaining the efficiency of object relocation is proposed. The objects in the virtual address cache are addressed directly using the object reference and field offset pair. This eliminates the indirection overhead and off-set addition overhead associated with the handle representation model. A hardware object table that maintains the handles is used to obtain the actual object location on a virtual address cache miss. The performance of the virtual address cache is analyzed using various Java programs, and is found to reduce 1.5 cycles per object access on an average as compared to the handle representation model for the various benchmarks studied.

Original languageEnglish (US)
Pages (from-to)435-443
Number of pages9
JournalIEE Proceedings: Computers and Digital Techniques
Volume147
Issue number6
DOIs
StatePublished - Nov 1 2000

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Hardware and Architecture
  • Computational Theory and Mathematics

Fingerprint Dive into the research topics of 'Supporting object accesses in a Java processor'. Together they form a unique fingerprint.

  • Cite this