Customizing JavaScript Virtual Machines for Specific Applications and Execution Environments

  • ONOZAWA Hiro
    Graduate School of Informatics and Engineering, The University of Electro-Communications
  • IWASAKI Hideya
    Graduate School of Informatics and Engineering, The University of Electro-Communications
  • UGAWA Tomoharu
    Graduate School of Information Science and Technology, The University of Tokyo

Bibliographic Information

Other Title
  • アプリケーションと実行環境に適応したカスタマイズが可能なJavaScript処理系
  • アプリケーション ト ジッコウ カンキョウ ニ テキオウ シタ カスタマイズ ガ カノウ ナ JavaScript ショリケイ

Search this article

Abstract

<p>Recently IoT (Internet of Things) technology, which gathers various data from sensors and controls distributed devices among a network, is getting more and more attention. The eJS (embedded JavaScript) project aims to make it possible to write IoT programs in JavaScript and reduce difficulties and complexities in the development of IoT applications. The eJS project offers a framework named eJSTK to generate JavaScript virtual machines (VMs) called eJSVMs, each of which is customized to a specific IoT application executed on a specific IoT device equipped with limited resources. This paper presents two new customization capabilities of eJSVM. One is to choose internal data structures of eJSVM between those for 32-bit environment and those for 64-bit environment. The other is to choose a suitable garbage collection algorithm used in a generated VM among four different algorithms. Experimental results showed the effectiveness of the new customization capabilities.</p>

Journal

  • Computer Software

    Computer Software 38 (3), 3_23-3_40, 2021-07-27

    Japan Society for Software Science and Technology

Related Projects

See more

Details 詳細情報について

Report a problem

Back to top