t
Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

Title: jhat
Language: Japanese
Date: 2013ǯ11��21��
SectDesc: �ȥ�֥륷�塼�ƥ������ġ���
Software: JDK 8
Arch: ����
Part Number: E58103-01
Doc ID: JSSON

"jhat" "1" "2013ǯ11��21��" "JDK 8" "�ȥ�֥륷�塼�ƥ������ġ���"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"̾��"
jhat - Java�ҡ��פ�ʬ�Ϥ��ޤ������Υ��ޥ�ɤϻŪ�ʤ�Τǡ����ݡ��Ȥ���Ƥ��ޤ���
"����"

.\}

jhat [ options ] heap-dump-file 
.\}

options

���ޥ�ɹԥ��ץ�������ץ������Ȥ��Ƥ���������

heap-dump-file

�֥饦���оݤȤʤ�Java�Х��ʥꡦ�ҡ��ס�����ס��ե����롣ʣ���Υҡ��ס�����פ�ޤ����ס��ե�����ξ�硢myfile.hprof#3�Τ褦�˥ե�����̾�θ��#<number>���ղä��뤳�Ȥǡ��ե������������Υ���פ����Ǥ��ޤ���

"����"

jhat���ޥ�ɤ�Java�ҡ��ס�����ס��ե��������Ϥ���Web�����С����Ϥ��ޤ���jhat���ޥ�ɤ���Ѥ��ơ�����������Υ֥饦���ǥҡ��ס�����פ��ȤǤ��ޤ���jhat���ޥ�ɤϡ����ΤΥ��饹MyClass�Τ��٤ƤΥ���������ɽ������ʤɤλ����߷׺Ѥ���礻��Object Query Language (OQL)���ݡ��Ȥ��ޤ����ҡ��ס�����פ���礻�������OQL��SQL�˻��Ƥ��ޤ���OQL�Υإ�פˤϡ�jhat���ޥ�ɤˤ�ä�ɽ�������OQL�إ�ס��ڡ������饢�������Ǥ��ޤ����ǥե���ȡ��ݡ��Ȥ���Ѥ����硢OQL�Υإ�פ�http://localhost:7000/oqlhelp/�����Ѳ�ǽ�Ǥ���

Java�Υҡ��ס�����פ���������ˤϡ����Τ����Ĥ�����ˡ������ޤ���

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jmap -dump���ץ�������Ѥ��Ƽ¹Ի��˥ҡ��ס�����פ�������ޤ���jmap(1)���Ȥ��Ƥ���������

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jconsole���ץ�������Ѥ���HotSpotDiagnosticMXBean��ͳ�Ǽ¹Ի��˥ҡ��ס�����פ�������ޤ���jconsole(1)�����HotSpotDiagnosticMXBean�Υ����ե�����������( http://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html)���Ȥ��Ƥ���������

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} �ҡ��ס�����פϡ�-XX:+HeapDumpOnOutOfMemoryError Java Virtual Machine (JVM)���ץ�������ꤹ�뤳�Ȥǡ�OutOfMemoryError���������줿�Ȥ�����������ޤ���

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} hprof���ޥ�ɤ���Ѥ��ޤ���HPROF: Heap/CPU�ץ�ե���������ġ��� (http://docs.oracle.com/javase/8/docs/technotes/samples/hprof.html)���Ȥ��Ƥ�������
"���ץ����"

-stack false|true

���֥������ȳ����ƽФ������å������פ�̵���ˤ��ޤ����ҡ��ס��������dz��������Ⱦ������ѤǤ��ʤ���硢���Υե饰��false�����ꤹ��ɬ�פ�����ޤ����ǥե���Ȥ�true�Ǥ���

-refs false|true

���֥������Ȥؤλ��Ȥ����פ�̵���ˤ��ޤ����ǥե���Ȥ�true�Ǥ����ǥե���ȤǤϡ��ҡ�����Τ��٤ƤΥ��֥������ȤˤĤ��ơ��Хå��ݥ���(���ꤵ�줿���֥������Ȥ�ݥ���Ȥ��Ƥ��륪�֥������ȡ����ȼԤޤ��ϼ������ȤȤ�ƤФ��)���׻�����ޤ���

-port port-number

jhat��HTTP�����С��Υݡ��Ȥ����ꤷ�ޤ����ǥե���Ȥ�7000�Ǥ���

-exclude exclude-file

��ã��ǽ�ʥ��֥������Ȥ���礻�����������ɬ�פ�����ǡ��������С��ΰ�����ޤ�ե��������ꤷ�ޤ������Ȥ��С����Υե������java.lang.String.value���ޤޤ�Ƥ�����硢����Υ��֥�������o������ã��ǽ�ʥ��֥������ȤΥꥹ�Ȥ�׻�����ݤˡ�java.lang.String.value�ե�����ɤ˴�Ϣ���뻲�ȥѥ�����θ����ʤ��ʤ�ޤ���

-baseline exclude-file

�١����饤��Ȥʤ�ҡ��ס�����פ���ꤷ�ޤ���ξ���Υҡ��ס���������Ʊ�����֥�������ID����ĥ��֥������ȤϿ����ǤϤʤ��Ȥ��ƥޡ�������ޤ���¾�Υ��֥������ȤϿ����Ȥ��ƥޡ�������ޤ�������ϡ��ۤʤ�2�ĤΥҡ��ס�����פ���Ӥ���ݤ���Ω���ޤ���

-debug int

���Υġ���ΥǥХå�����٥�����ꤷ�ޤ�����٥�0�ϥǥХå����Ϥ��ʤ����Ȥ��̣���ޤ�������礭���ͤ����ꤹ��ȡ�����Ĺ�ʥ⡼�ɤˤʤ�ޤ���

-version

��꡼���ֹ���ݡ��Ȥ��ƽ�λ���ޤ�

-h

�إ�ס���å�������ɽ�����ƽ�λ���ޤ���

-help

�إ�ס���å�������ɽ�����ƽ�λ���ޤ���

-Jflag

jhat���ޥ�ɤ�¹Ԥ��Ƥ���Java Virtual Machine��flag���Ϥ��ޤ������Ȥ��С�512M�Х��Ȥκ���ҡ��ס�����������Ѥ���ˤϡ�-J-Xmx512m�Ȥ��ޤ���

"��Ϣ����"

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jmap(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jconsole(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} HPROF: Heap/CPU�ץ�ե���������ġ��� (http://docs.oracle.com/javase/8/docs/technotes/samples/hprof.html)

'pl 8.5i 'bp