Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems

Ting Wei Hou, Fuh Gwo Chen, Chin Yang Lin

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Short-code threading for virtual machine interpreters is substantially similar to direct threading. But short-code threading consumes less memory at the cost of a little performance degradation, as compared with direct threading in a 32-bit or 64-bit address machine. A 16-bit short-code is used to enroll the least two significant bytes of the emulation address at the phase of preparing translated code, and a virtual segment register is used to store the remainder of the address. Experiments on benchmark programs of SPECJVM 98 showed that short-code threading is slightly slower than direct threading but short-code threading requires lesser memory to store the translated address: one half in 32-bit addressing and one quarter in 64-bit addressing. Therefore, short-code threading is much suitable for memory-constrained embedded system.

Original languageEnglish
Title of host publicationProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008
Pages228-232
Number of pages5
Publication statusPublished - 2008 Dec 1
Event2008 International Conference on Embedded Systems and Applications, ESA 2008 - Las Vegas, NV, United States
Duration: 2008 Jul 142008 Jul 17

Publication series

NameProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008

Other

Other2008 International Conference on Embedded Systems and Applications, ESA 2008
CountryUnited States
CityLas Vegas, NV
Period08-07-1408-07-17

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Hardware and Architecture
  • Software

Fingerprint Dive into the research topics of 'Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems'. Together they form a unique fingerprint.

Cite this