2024-03-29T08:51:52Zhttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_oaipmhoai:ipsj.ixsq.nii.ac.jp:000808522023-04-27T10:00:04Z01164:02036:06668:06700
マルチスレッドプロセッサ向け組込みJava VMの実装Implementation of Embedded Java VM for Multithreaded Processorjpn設計ツールとフレームワークhttp://id.nii.ac.jp/1001/00080852/Technical Reporthttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_action_common_download&item_id=80852&item_no=1&attribute_id=1&file_no=1Copyright (c) 2012 by the Institute of Electronics, Information and Communication EngineersThis SIG report is only available to those in membership of the SIG.慶應義塾大学理工学部慶應義塾大学理工学部慶應義塾大学理工学部慶應義塾大学理工学部伊藤, 康人千代, 浩之松谷, 宏紀山崎, 信行近年の組込み分野において,バイトコードの互換性,高いセキュリティ,開発の容易性などから Java システムの採用が広がっている.一方で,外部ハードウェア制御やユーザ操作への応答などの処理においては決められた時間までにタスクが完了することを保証する性質である,リアルタイムI性を確保することが重要となる.本研究では,Java のサブセット実装である Waba VM を Responsive Multithreaded Processor (RMTP) 上へ移植,拡張を行った.その際,スレッドには優先度と周期を付与し,固定優先度によるリアルタイムスケジューリングを可能にした.また,Java スレッドは RMTP スレッドと一対一に対応させ,固有命令による高速なコンテキストスイッチを図った.実機評価の結果,RMTP 固有の高速なコンテキストスイッチ機能を使うことによってスケジューリングオーバーヘッドを 20~40% 削減することができた.Java system has been widely employed in recent embedded systems due to portability of Java bytecode, high-level security, and ease of development. In addition, real-time capability that guarantees response within strict time constraints has been required for various control systems, such as user input devices. In this paper, we ported Waba VM, which is an implementation of Java VM subset, to Responsive Multithreaded Processor (RMTP). We also implemented a fixed-priority real-time scheduling on it by introducing priority and period for each thread. Every Java thread is assigned to a corresponding RMTP thread, and RMTP thread control instructions are used to speed up the context switch. Experimental results demonstrated that the Java VM with RMTP extensions reduces the scheduling overhead by 20-40%.AA11451459研究報告システムLSI設計技術(SLDM)2012-SLDM-15531162012-02-242012-02-21