- 【Updated on May 12, 2025】 Integration of CiNii Dissertations and CiNii Books into CiNii Research
- Trial version of CiNii Research Knowledge Graph Search feature is available on CiNii Labs
- Suspension and deletion of data provided by Nikkei BP
- Regarding the recording of “Research Data” and “Evidence Data”
Bytecode Transformation Adjusted to User Program Structures towards Coding Technique Distribution
Bibliographic Information
- Other Title
-
- ユーザプログラムに応じた変換を容易に実現できるバイトコード変換系Cusapiとその応用
Search this article
Description
いくつかのプログラム高速化や分散・並列化技法には,横断的なプログラム改変を必要とする.本発表の目標は,これらの実装技法を簡単にモジュールとして実現し,配布・利用可能とする基盤を提供することである.このようなモジュールは,各種用途に応じた変換をユーザプログラムに施すことで実現できる.ただし,任意のユーザプログラムに対して,その構造に応じた変換が必要である.本発表で提案するCusapiは,プログラム変換モジュール作成系であり,記述性と記述力の両立を目指して,以下の特徴を備える.(1)パターンマッチに基づく,クラス・メソッド構造の宣言的取り扱い,(2)そのネスト構造に応じた,フィールド・メソッド追加やブロック記述・変数宣言,(3)命令再定義において追加フィールドや引数へのアクセスの簡単な利用.本発表では,Cusapiの言語仕様の概略を示したうえで,その記述力と記述性について高速スレッドローカルや分散オブジェクト機能などの変換モジュール例を通して示す.
Programmers are sometimes forced to modify multiple code fragments spread over the programs to attach new features to their programs. The goal of this presentation is to provide an infrastructure to package these coding techniques into the corresponding program modules, and allow to distribute them like usual libraries. To realize these module, code transformation techniques may be helpful. However, it often requires careful and troublesome implementation to accept various kinds of user programs and generate code fragments based with allocating adequate parameters or local variables adequate for the program structures. To ease the difficulty, we have proposed a Java bytecode transformation tool Cusapi. (1) pattern match mechanism to abstract/acquire user program structures, (2) attachments of fields/methods according to the user program structure, (3) redefinition of methods using newly attached fields or parameters. This presentation shows the overview of language description and translation model of Cusapi, and evaluate how easily Cusapi programmer can realize code translation module, such as thread-local data structure and distributed object facilities.
Journal
-
- 情報処理学会論文誌プログラミング(PRO)
-
情報処理学会論文誌プログラミング(PRO) 48 (SIG4(PRO32)), 78-78, 2007-03-15
情報処理学会
- Tweet
Keywords
Details 詳細情報について
-
- CRID
- 1050001337890507136
-
- NII Article ID
- 110006242952
-
- NII Book ID
- AA11464814
-
- ISSN
- 18827802
-
- Text Lang
- ja
-
- Article Type
- journal article
-
- Data Source
-
- IRDB
- CiNii Articles