jdk/src/linux/doc/man/ja/jhat.1
author katleman
Thu, 05 Jan 2012 08:42:37 -0800
changeset 11376 075fe3928b7f
parent 9566 d7241af95355
child 23600 d21826f6c789
permissions -rw-r--r--
Added tag jdk8-b20 for changeset 90e14ec89395
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
     1
." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
." This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
." under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
." published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
." This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
." version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
." accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
." You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
." 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
."
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    18
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    19
." or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    20
." questions.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    21
."
9566
d7241af95355 7043580: integrate man page translation drop 2 into jdk7
mfang
parents: 9352
diff changeset
    22
.TH jhat 1 "07 May 2011"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    25
.SH "名前"
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    26
jhat \- Java ヒープ解析ツール
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    28
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    29
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    30
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    31
形式 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    32
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    33
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    34
パラメータ 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    35
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    36
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    37
説明 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    38
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    39
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    40
オプション 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    41
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    42
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    43
関連項目 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    44
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    45
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    46
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    47
.SH "形式"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
\fP\f3jhat\fP [ \f2options\fP ] <heap\-dump\-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    59
.SH "パラメータ"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    61
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    62
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    63
options 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    64
オプションを使用する場合、コマンド名の直後に記述してください。 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    65
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    66
heap\-dump\-file 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    67
ブラウズ対象となる Java バイナリヒープダンプファイル。複数のヒープダンプを含むダンプファイルの場合、「foo.hprof#3」のようにファイル名の後に「#<number>」を付加することで、ファイル内の特定のダンプを指定できます。 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    68
.RE
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    69
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    70
.LP
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    71
.SH "説明"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    74
\f3jhat\fP コマンドは、java ヒープダンプファイルを解析し、Web サーバーを起動します。jhat を使えば、お好みの Web ブラウザを使ってヒープダンプをブラウズできます。jhat は、「ある既知のクラス「Foo」のすべてのインスタンスを表示する」といった、事前に設計されたクエリのほか、\f3OQL\fP (\f3O\fPbject \f3Q\fPuery \f3L\fPanguage) もサポートします。OQL のヘルプには、jhat によって表示される OQL ヘルプページからアクセスできます。デフォルトポートを使用する場合、OQL のヘルプは http://localhost:7000/oqlhelp/ で利用可能です。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    75
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    76
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    77
Java のヒープダンプを生成するには、いくつかの方法があります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    81
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    82
jmap(1) の \-dump オプションを使って実行時にヒープダンプを取得する。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    84
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    85
jconsole(1) のオプションを使って 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    86
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    87
\f2HotSpotDiagnosticMXBean\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    88
.fi
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    89
http://java.sun.com/javase/6/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html 経由で実行時にヒープダンプを取得する。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    91
o
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    92
\-XX:+HeapDumpOnOutOfMemoryError VM オプションを指定すると、OutOfMemoryError のスロー時にヒープダンプが生成される。 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    93
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    94
o
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    96
\f2hprof\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
.fi
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    98
http://java.sun.com/developer/technicalArticles/Programming/HPROF.html を使用する。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   103
\f3注:\fP このツールは\f3試験的なもの\fPであり、将来の JDK のバージョンでは\f3利用できなくなる\fP可能性があります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   105
.SH "オプション"
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   106
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   107
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
\-stack false/true 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   110
オブジェクト割り当て呼び出しスタックの追跡を無効にします。ヒープダンプ内で割り当てサイト情報が使用できない場合、このフラグを false に設定する必要があります。デフォルトは true です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
\-refs false/true 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   113
オブジェクトへの参照の追跡を無効にします。デフォルトは true です。デフォルトでは、ヒープ内のすべてのオブジェクトについて、バックポインタ (指定されたオブジェクトをポイントしているオブジェクト。参照者または受信参照とも呼ばれる) が計算されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
\-port port\-number 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   116
jhat の HTTP サーバーのポートを設定します。デフォルトは 7000 です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
\-exclude exclude\-file 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   119
「到達可能なオブジェクト」のクエリから除外すべきデータメンバーの一覧を含むファイルを指定します。たとえば、このファイルに \f2java.lang.String.value\fP が含まれていた場合、特定のオブジェクト「o」から到達可能なオブジェクトのリストを計算する際に、\f2java.lang.String.value\fP フィールドに関連する参照パスが考慮されなくなります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
\-baseline baseline\-dump\-file 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   122
ベースラインとなるヒープダンプを指定します。両方のヒープダンプ内で同じオブジェクト ID を持つオブジェクトは「新規ではない」としてマークされます。その他のオブジェクトは「新規」としてマークされます。これは、異なる 2 つのヒープダンプを比較する際に役立ちます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
\-debug int 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   125
このツールのデバッグレベルを設定します。0 は「デバッグ出力なし」を意味します。より大きな値を設定すると、より冗長なモードになります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   127
\-version 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   128
バージョン番号を報告したあと、終了します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   130
\-h 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   131
ヘルプメッセージを出力して終了します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   133
\-help 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   134
ヘルプメッセージを出力して終了します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
.TP 3
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   136
\-J<flag> 
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   137
jhat が実行されている Java 仮想マシンに <flag> を渡します。たとえば、512M バイトの最大ヒープサイズを使用するには、\-J\-Xmx512m とします。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
.LP
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   141
.SH "関連項目"
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   142
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   143
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   144
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   145
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   146
jmap(1) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   147
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   148
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   149
jconsole(1) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   150
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   151
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   152
.na
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   153
\f2hprof \- ヒープおよび CPU プロファイリングツール\fP @
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   154
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   155
http://java.sun.com/developer/technicalArticles/Programming/HPROF.html 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   156
.RE
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   157
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   158
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159