• 検索結果がありません。

オブジェクトの参照関係に基づいたメモリリーク原因箇所の自動検出手法

N/A
N/A
Protected

Academic year: 2021

シェア "オブジェクトの参照関係に基づいたメモリリーク原因箇所の自動検出手法"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)Vol. 46. No. SIG 6(PRO 25). Apr. 2005. 情報処理学会論文誌:プログラミング. 発表概要. オブジェクトの参照関係に基づいた メモリリーク原因箇所の自動検出手法 小. 幡. 元. 樹†. プログラムの性能劣化要因の 1 つとして,ヒープ領域に割り当てられたデータのメモリリークがあ げられる.メモリリークが発生すると,メモリ中のデータが不必要になっても解放されず,利用可能 メモリが減少する.その結果,仮想メモリ領域とのページングの過多による性能低下や,メモリ領域 不足によるエラーが生じる.本発表では,Java アプリケーションを対象として,メモリリークの原 因箇所を自動的に検出する手法を示す.本手法では,Java 仮想マシンのヒープメモリダンプを実行 時に 2 回取得し,ダンプメモリからオブジェクト間の参照関係を表すグラフを生成する.これを利用 してメモリリークの原因となる可能性を持つ箇所に順位付けをすることで,ユーザによる原因箇所の 特定を容易にする.SPECjvm98 および SPECjbb2000 を用いた評価の結果,複数のプログラムで メモリリークが確認され,その原因箇所が容易に発見できることを確認した.. Automatic Detection Technique of Memory Leak Point on the Basis of the Object Reference Relation Motoki Obata† Memory leak of heap allocated data is a problem that deteriorates the performance factors of a program. Since leaked memory regions are kept allocated memory area available to the user program gradually decreases. This results in performance deterioration caused by heavy paging activity of virtual memory system or unexpected program termination caused by lack of available memory for the user program. In this presentation, we propose a method that automatically detects the cases of memory lack for Java application. This method eases detection of lack point by ranking possible candidate objects using an objects relation graph constructed from two heap memory snapshots of Java virtual machine. Our experiments using SPECjvm98 and SPECjbb2000 benchmarks revealed existence of memory leaks in some benchmark programs and showed that the memory leak points can be determined easily.. (平成 16 年 10 月 22 日発表). † 日立製作所システム開発研究所 Systems Development Laboratory, Hitachi Ltd.. 65.

(2)

参照

関連したドキュメント

An easy-to-use procedure is presented for improving the ε-constraint method for computing the efficient frontier of the portfolio selection problem endowed with additional cardinality

Let X be a smooth projective variety defined over an algebraically closed field k of positive characteristic.. By our assumption the image of f contains

She reviews the status of a number of interrelated problems on diameters of graphs, including: (i) degree/diameter problem, (ii) order/degree problem, (iii) given n, D, D 0 ,

In this paper, we study the generalized Keldys- Fichera boundary value problem which is a kind of new boundary conditions for a class of higher-order equations with

(4) The basin of attraction for each exponential attractor is the entire phase space, and in demonstrating this result we see that the semigroup of solution operators also admits

Kilbas; Conditions of the existence of a classical solution of a Cauchy type problem for the diffusion equation with the Riemann-Liouville partial derivative, Differential Equations,

Transirico, “Second order elliptic equations in weighted Sobolev spaces on unbounded domains,” Rendiconti della Accademia Nazionale delle Scienze detta dei XL.. Memorie di

It is known that if the Dirichlet problem for the Laplace equation is considered in a 2D domain bounded by sufficiently smooth closed curves, and if the function specified in the