動的スクリプト言語処理系が動作するJava仮想マシンのメモリ分析

書誌事項

タイトル別名
  • ドウテキ スクリプト ゲンゴ ショリケイ ガ ドウサ スル Java カソウ マシン ノ メモリ ブンセキ
  • Java Virtual Machine's Memory Usage with Dynamic Scripting Languages

この論文をさがす

説明

JRubyやJython,GroovyなどのJava仮想マシン上で動作する動的スクリプト言語処理系が広く使われるようになっている.アプリケーション開発者がこれらの処理系を用いるメリットとして,JavaのライブラリやJava仮想マシンの最適化・ガベージコレクションなどの機能を利用できる点,既存のJavaプログラムと連携できる点などがある.しかしJava仮想マシン上で動的スクリプト言語処理系を実行するにあたって,従来のJavaアプリケーションを実行する場合と比べて大きな時間的・空間的オーバヘッドが発生する可能性がある.本論文では,このようなオーバヘッドのうち特にメモリの利用に焦点を当てる.Java仮想マシンのメモリ利用については様々な分析や議論が行われているが,多くはJavaヒープに関する議論である.動的スクリプト言語処理系は,高速に動作させるためにJavaレベルのクラス生成などのJavaヒープ以外のメモリを利用する処理を行っており,その影響は無視できないものとなっている.本論文では,Javaヒープ以外のメモリにも焦点を当ててメモリの利用状況の分析を行い,その結果を示した.

As seen from JRuby, Jython and Groovy, dynamic scripting languages on Java Virtual Machines are widely used. Some of the advantages of such languages for application developers is ability to use Java libraries, optimization and garbage collection in Java Virtual Machines. Another advantage is collaboration with existing Java programs. Longer time and larger space overheads, however, can be caused by running dynamic scripting languages on Java Virtual Machines than traditional Java applications. We focus on memory usage among such overheads. While many works focus on memory usage, most of the existing analyses focus on Java Virtual Machines' memory usage in Java heap, however, the impact of non-Java heap is not ignorable since dynamic scripting language runtimes additionally consume non-Java heap memory for execution-time optimization like dynamic generation of Java-level classes. We analyzed memory usage with a focus on non-Java heap memory, and indicated the results in this paper.

収録刊行物

キーワード

詳細情報 詳細情報について

問題の指摘

ページトップへ