23600
+ − 1
'\" t
+ − 2
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
+ − 3
.\" Title: jhat
+ − 4
.\" Language: English
+ − 5
.\" Date: 2013ǯ11��21��
+ − 6
.\" SectDesc: �ȥ�֥륷�塼�ƥ����ġ���
+ − 7
.\" Software: JDK 8
+ − 8
.\" Arch: ����
+ − 9
.\"
+ − 10
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ − 11
.\"
+ − 12
.\" This code is free software; you can redistribute it and/or modify it
+ − 13
.\" under the terms of the GNU General Public License version 2 only, as
+ − 14
.\" published by the Free Software Foundation.
+ − 15
.\"
+ − 16
.\" This code is distributed in the hope that it will be useful, but WITHOUT
+ − 17
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ − 18
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ − 19
.\" version 2 for more details (a copy is included in the LICENSE file that
+ − 20
.\" accompanied this code).
+ − 21
.\"
+ − 22
.\" You should have received a copy of the GNU General Public License version
+ − 23
.\" 2 along with this work; if not, write to the Free Software Foundation,
+ − 24
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ − 25
.\"
+ − 26
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ − 27
.\" or visit www.oracle.com if you need additional information or have any
+ − 28
.\" questions.
+ − 29
.\"
+ − 30
.pl 99999
+ − 31
.TH "jhat" "1" "2013ǯ11��21��" "JDK 8" "�ȥ�֥륷�塼�ƥ����ġ���"
+ − 32
.\" -----------------------------------------------------------------
+ − 33
.\" * Define some portability stuff
+ − 34
.\" -----------------------------------------------------------------
+ − 35
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ − 36
.\" http://bugs.debian.org/507673
+ − 37
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+ − 38
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ − 39
.ie \n(.g .ds Aq \(aq
+ − 40
.el .ds Aq '
+ − 41
.\" -----------------------------------------------------------------
+ − 42
.\" * set default formatting
+ − 43
.\" -----------------------------------------------------------------
+ − 44
.\" disable hyphenation
+ − 45
.nh
+ − 46
.\" disable justification (adjust text to left margin only)
+ − 47
.ad l
+ − 48
.\" -----------------------------------------------------------------
+ − 49
.\" * MAIN CONTENT STARTS HERE *
+ − 50
.\" -----------------------------------------------------------------
+ − 51
.SH "NAME"
+ − 52
jhat \- Java�ҡ��פ�ʬ�Ϥ��ޤ������Υ��ޥ�ɤϻŪ�ʤ�Τǡ����ݡ��Ȥ���Ƥ��ޤ���
+ − 53
.SH "����"
+ − 54
.sp
+ − 55
.if n \{\
+ − 56
.RS 4
+ − 57
.\}
+ − 58
.nf
+ − 59
\fIjhat\fR [ \fIoptions\fR ] \fIheap\-dump\-file\fR
+ − 60
.fi
+ − 61
.if n \{\
2692
+ − 62
.RE
23600
+ − 63
.\}
+ − 64
.PP
+ − 65
\fIoptions\fR
+ − 66
.RS 4
+ − 67
���ޥ�ɥ饤���ץ�����ץ����Ȥ��Ƥ���������
9352
+ − 68
.RE
23600
+ − 69
.PP
+ − 70
\fIheap\-dump\-file\fR
+ − 71
.RS 4
+ − 72
�֥饦���оݤȤʤ�Java�Х��ʥꡦ�ҡ��ס�����ס��ե����롣ʣ���Υҡ��ס�����פ�ޤ����ס��ե�����ξ�硢\fImyfile\&.hprof#3\fR�Τ褦�˥ե�����̾�θ��\fI#<number>\fR���ղä��뤳�Ȥǡ��ե������������Υ���פ����Ǥ��ޤ���
+ − 73
.RE
9352
+ − 74
.SH "����"
23600
+ − 75
.PP
+ − 76
\fIjhat\fR���ޥ�ɤ�Java�ҡ��ס�����ס��ե��������Ϥ���Web�����С��Ϥ��ޤ���\fIjhat\fR���ޥ�ɤ���Ѥ��ơ�����������Υ֥饦���ǥҡ��ס�����פȤǤ��ޤ���\fIjhat\fR���ޥ�ɤϡ����ΤΥ��饹\fIMyClass\fR�Τ��٤ƤΥ�����ɽ������ʤɤλ����߷Ѥ���礻��Object Query Language (OQL)�ݡ��Ȥ��ޤ����ҡ��ס�����פ���礻�������OQL��SQL�˻��Ƥ��ޤ���OQL�Υإ�פˤϡ�\fIjhat\fR���ޥ�ɤˤ�ä�ɽ�������OQL�إ�ס��ڡ������饢�������Ǥ��ޤ����ǥե���ȡ��ݡ��Ȥ���Ѥ����硢OQL�Υإ�פ�http://localhost:7000/oqlhelp/�����Ѳ�ǽ�Ǥ���
+ − 77
.PP
+ − 78
Java�Υҡ��ס�����פ���������ˤϡ����Τ����Ĥ�����ˡ������ޤ���
+ − 79
.sp
+ − 80
.RS 4
+ − 81
.ie n \{\
+ − 82
\h'-04'\(bu\h'+03'\c
+ − 83
.\}
+ − 84
.el \{\
+ − 85
.sp -1
+ − 86
.IP \(bu 2.3
+ − 87
.\}
+ − 88
\fIjmap \-dump\fR���ץ�������Ѥ��Ƽ¹Ի��˥ҡ��ס�����פ�������ޤ���jmap(1)�Ȥ��Ƥ���������
2
+ − 89
.RE
23600
+ − 90
.sp
+ − 91
.RS 4
+ − 92
.ie n \{\
+ − 93
\h'-04'\(bu\h'+03'\c
+ − 94
.\}
+ − 95
.el \{\
+ − 96
.sp -1
+ − 97
.IP \(bu 2.3
+ − 98
.\}
+ − 99
\fIjconsole\fR���ץ�������Ѥ���\fIHotSpotDiagnosticMXBean\fR��ͳ�Ǽ¹Ի��˥ҡ��ס�����פ�������ޤ���jconsole(1)�����\fIHotSpotDiagnosticMXBean\fR�Υ��ե�����������(
+ − 100
http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean\&.html)�Ȥ��Ƥ���������
+ − 101
.RE
+ − 102
.sp
+ − 103
.RS 4
+ − 104
.ie n \{\
+ − 105
\h'-04'\(bu\h'+03'\c
+ − 106
.\}
+ − 107
.el \{\
+ − 108
.sp -1
+ − 109
.IP \(bu 2.3
+ − 110
.\}
+ − 111
�ҡ��ס�����פϡ�\fI\-XX:+HeapDumpOnOutOfMemoryError\fR
+ − 112
Java���ۥޥ���(JVM)���ץ�������ꤹ�뤳�Ȥǡ�\fIOutOfMemoryError\fR�����������줿�Ȥ�����������ޤ���
+ − 113
.RE
+ − 114
.sp
+ − 115
.RS 4
+ − 116
.ie n \{\
+ − 117
\h'-04'\(bu\h'+03'\c
+ − 118
.\}
+ − 119
.el \{\
+ − 120
.sp -1
+ − 121
.IP \(bu 2.3
+ − 122
.\}
+ − 123
\fIhprof\fR���ޥ�ɤ���Ѥ��ޤ���HPROF: Heap/CPU�ץ��ե�������ġ���
+ − 124
(http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html)�Ȥ��Ƥ�������
+ − 125
.RE
9352
+ − 126
.SH "���ץ����"
23600
+ − 127
.PP
+ − 128
\-stack false|true
+ − 129
.RS 4
+ − 130
���֥������ȳ����ƽФ������å������פ�̵���ˤ��ޤ����ҡ��ס��������dz��������Ⱦ����ѤǤ��ʤ���硢���Υե饰��\fIfalse\fR�����ꤹ��ɬ�פ�����ޤ����ǥե���Ȥ�\fItrue\fR�Ǥ���
+ − 131
.RE
+ − 132
.PP
+ − 133
\-refs false|true
+ − 134
.RS 4
+ − 135
���֥������Ȥؤλ��Ȥ����פ�̵���ˤ��ޤ����ǥե���Ȥ�\fItrue\fR�Ǥ����ǥե���ȤǤϡ��ҡ�����Τ��٤ƤΥ��֥������ȤˤĤ��ơ��Хå��ݥ���(���ꤵ�줿���֥������Ȥ�ݥ���Ȥ��Ƥ��륪�֥������ȡ����ȼԤޤ��ϼ������ȤȤ�ƤФ��)��������ޤ���
+ − 136
.RE
+ − 137
.PP
+ − 138
\-port \fIport\-number\fR
+ − 139
.RS 4
+ − 140
\fIjhat\fR��HTTP�����С��Υݡ��Ȥ����ꤷ�ޤ����ǥե���Ȥ�7000�Ǥ���
+ − 141
.RE
+ − 142
.PP
+ − 143
\-exclude \fIexclude\-file\fR
+ − 144
.RS 4
+ − 145
��ã��ǽ�ʥ��֥������Ȥ���礻�����������ɬ�פ�����ǡ��������С��ΰ�����ޤ�ե��������ꤷ�ޤ������Ȥ��С����Υե������\fIjava\&.lang\&.String\&.value\fR���ޤޤ�Ƥ�����硢����Υ��֥�������\fIo\fR������ã��ǽ�ʥ��֥������ȤΥꥹ�Ȥ������ݤˡ�\fIjava\&.lang\&.String\&.value\fR�ե�����ɤ˴�Ϣ���뻲�ȥѥ�����θ����ʤ��ʤ�ޤ���
+ − 146
.RE
+ − 147
.PP
+ − 148
\-baseline \fIexclude\-file\fR
+ − 149
.RS 4
+ − 150
�١����饤��Ȥʤ�ҡ��ס�����פ���ꤷ�ޤ���ξ���Υҡ��ס���������Ʊ�����֥�������ID����ĥ��֥������ȤϿ����ǤϤʤ��Ȥ��ƥޡ�������ޤ���¾�Υ��֥������ȤϿ����Ȥ��ƥޡ�������ޤ�������ϡ��ۤʤ�2�ĤΥҡ��ס�����פ���Ӥ���ݤ���Ω���ޤ���
+ − 151
.RE
+ − 152
.PP
+ − 153
\-debug \fIint\fR
+ − 154
.RS 4
+ − 155
���Υġ���ΥǥХå�����٥�����ꤷ�ޤ�����٥�0�ϥǥХå����Ϥ��ʤ����Ȥ��̣���ޤ�������礭���ͤ����ꤹ��ȡ�����Ĺ�ʥ⡼�ɤˤʤ�ޤ���
+ − 156
.RE
+ − 157
.PP
+ − 158
\-version
+ − 159
.RS 4
+ − 160
�����ֹ���ݡ��Ȥ��ƽ�λ���ޤ�
+ − 161
.RE
+ − 162
.PP
+ − 163
\-h
+ − 164
.RS 4
+ − 165
�إ�ס���å�������ɽ�����ƽ�λ���ޤ���
2
+ − 166
.RE
23600
+ − 167
.PP
+ − 168
\-help
+ − 169
.RS 4
+ − 170
�إ�ס���å�������ɽ�����ƽ�λ���ޤ���
+ − 171
.RE
+ − 172
.PP
+ − 173
\-J\fIflag\fR
+ − 174
.RS 4
+ − 175
\fIjhat\fR���ޥ�ɤ�¹Ԥ��Ƥ���Java���ۥޥ����\fIflag\fR���Ϥ��ޤ������Ȥ��С�512M�Х��Ȥκ���ҡ��ס�����������Ѥ���ˤϡ�\fI\-J\-Xmx512m\fR�Ȥ��ޤ���
+ − 176
.RE
9352
+ − 177
.SH "��Ϣ����"
23600
+ − 178
.sp
+ − 179
.RS 4
+ − 180
.ie n \{\
+ − 181
\h'-04'\(bu\h'+03'\c
+ − 182
.\}
+ − 183
.el \{\
+ − 184
.sp -1
+ − 185
.IP \(bu 2.3
+ − 186
.\}
+ − 187
jmap(1)
2692
+ − 188
.RE
23600
+ − 189
.sp
+ − 190
.RS 4
+ − 191
.ie n \{\
+ − 192
\h'-04'\(bu\h'+03'\c
+ − 193
.\}
+ − 194
.el \{\
+ − 195
.sp -1
+ − 196
.IP \(bu 2.3
+ − 197
.\}
+ − 198
jconsole(1)
+ − 199
.RE
+ − 200
.sp
+ − 201
.RS 4
+ − 202
.ie n \{\
+ − 203
\h'-04'\(bu\h'+03'\c
+ − 204
.\}
+ − 205
.el \{\
+ − 206
.sp -1
+ − 207
.IP \(bu 2.3
+ − 208
.\}
+ − 209
HPROF: Heap/CPU�ץ��ե�������ġ���
+ − 210
(http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html)
+ − 211
.RE
+ − 212
.br
+ − 213
'pl 8.5i
+ − 214
'bp