WEKO3
アイテム
Java2C トランスレータにおける例外処理の実現
https://ipsj.ixsq.nii.ac.jp/records/16841
https://ipsj.ixsq.nii.ac.jp/records/168410055399d-1e57-4a44-a858-a4b773eda579
| 名前 / ファイル | ライセンス | アクション |
|---|---|---|
|
|
Copyright (c) 2001 by the Information Processing Society of Japan
|
|
| オープンアクセス | ||
| Item type | Trans(1) | |||||||
|---|---|---|---|---|---|---|---|---|
| 公開日 | 2001-11-15 | |||||||
| タイトル | ||||||||
| タイトル | Java2C トランスレータにおける例外処理の実現 | |||||||
| タイトル | ||||||||
| 言語 | en | |||||||
| タイトル | Implementations of Exception Handling in a Java2C Translator | |||||||
| 言語 | ||||||||
| 言語 | jpn | |||||||
| キーワード | ||||||||
| 主題Scheme | Other | |||||||
| 主題 | 通常論文 | |||||||
| 資源タイプ | ||||||||
| 資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
| 資源タイプ | journal article | |||||||
| 著者所属 | ||||||||
| 日立製作所システム開発研究所 | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Systems Development Laboratory, Hitachi, Ltd. | ||||||||
| 著者名 |
千葉, 雄司
× 千葉, 雄司
|
|||||||
| 著者名(英) |
Yuji, Chiba
× Yuji, Chiba
|
|||||||
| 論文抄録 | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | Java2C トランスレータの開発にあたっては,Java にあってC 言語にない機能の実現方法が問題になる.それらの問題の1 つに例外処理がある.例外処理はJava のほかにC++なども提供する機能であり,プログラム実行中に例外的事象が発生した箇所から,それに対処するルーチン(ハンドラ)まで大域的にジャンプ可能にする.例外処理の実現方法には,表引き法,setjmp 法,2 返戻値法の3種類があるが,Java2C トランスレータで利用可能なものは後2 者である.本論文では,setjmp 法と2 返戻値法について,Java2C トランスレータで実現するにあたり問題となる点を指摘する.また,SPECjvm98 を用いた性能評価からこれらの方法を比較する.評価の結果,全ベンチマーク項目で2返戻値法がsetjmp 法より実行を高速化し,その差が平均で1.53%に達することが分かった. | |||||||
| 論文抄録(英) | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | One of the problems in the development of Java2C translator is the way to implement features Java provides but C language does not. One of the features is exception handling, which not only Java but also C++ provides. Exception handling is a feature for jumping globally from the point where an exception is thrown to the code which handle the exception, and it has been implemented by following three methods: table method, setjmp method and two return values method. Java2C translator can exploit the latter two methods. This paper shows problems in implementing exception handling for Java by each of the two methods, and compare the performance of the methods using evaluation of the methods by SPECjvm98. The result showed that two return values method performs better than setjmp method in every benchmark item by 1.53% in average. | |||||||
| 書誌レコードID | ||||||||
| 収録物識別子タイプ | NCID | |||||||
| 収録物識別子 | AA11464814 | |||||||
| 書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 42, 号 SIG11(PRO12), p. 14-24, 発行日 2001-11-15 |
|||||||
| ISSN | ||||||||
| 収録物識別子タイプ | ISSN | |||||||
| 収録物識別子 | 1882-7802 | |||||||
| 出版者 | ||||||||
| 言語 | ja | |||||||
| 出版者 | 情報処理学会 | |||||||