• Home
  • Search
  • An Instruction Folding Solution to a Java Processor
  • Open Access IconOpen Access
  • Cite Icon5
  • https://doi.org/10.1007/978-3-540-74784-0_42Copy DOI Icon

An Instruction Folding Solution to a Java Processor

  • Jan 1, 2007
  • Tan Yiyu +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Java is widely applied into embedded devices. Java programs are compiled into Java bytecodes, which are executed into the Java virtual machine. The Java virtual machine is a stack machine and instruction folding is a technique to reduce the redundant stack operations. In this paper, a simple instruction folding algorithm is proposed for a Java processor named jHISC, where bytecodes are classified into five categories and the operation results of incomplete folding groups are hold for further folding. In the benchmark JVM98, with respect to all stack operations, the percentage of the eliminated P and C type instructions varies from 87% to 98% and the average is about 93%. The reduced instructions are between 37% and 50% of all operations and the average is 44%.KeywordsInstruction foldingJava processorJava virtual machineBytecode

Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.