OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [doc/] [gc-analyze.1] - Diff between revs 284 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 284 Rev 816
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05)
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05)
.\"
.\"
.\" Standard preamble:
.\" Standard preamble:
.\" ========================================================================
.\" ========================================================================
.de Sh \" Subsection heading
.de Sh \" Subsection heading
.br
.br
.if t .Sp
.if t .Sp
.ne 5
.ne 5
.PP
.PP
\fB\\$1\fR
\fB\\$1\fR
.PP
.PP
..
..
.de Sp \" Vertical space (when we can't use .PP)
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if t .sp .5v
.if n .sp
.if n .sp
..
..
.de Vb \" Begin verbatim text
.de Vb \" Begin verbatim text
.ft CW
.ft CW
.nf
.nf
.ne \\$1
.ne \\$1
..
..
.de Ve \" End verbatim text
.de Ve \" End verbatim text
.ft R
.ft R
.fi
.fi
..
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.\" nothing in troff, for use with C<>.
.tr \(*W-
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.ie n \{\
.    ds -- \(*W-
.    ds -- \(*W-
.    ds PI pi
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds L" ""
.    ds R" ""
.    ds R" ""
.    ds C` ""
.    ds C` ""
.    ds C' ""
.    ds C' ""
'br\}
'br\}
.el\{\
.el\{\
.    ds -- \|\(em\|
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds PI \(*p
.    ds L" ``
.    ds L" ``
.    ds R" ''
.    ds R" ''
'br\}
'br\}
.\"
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.el       .ds Aq '
.\"
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\" output yourself in some meaningful fashion.
.ie \nF \{\
.ie \nF \{\
.    de IX
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
.    tm Index:\\$1\t\\n%\t"\\$2"
..
..
.    nr % 0
.    nr % 0
.    rr F
.    rr F
.\}
.\}
.el \{\
.el \{\
.    de IX
.    de IX
..
..
.\}
.\}
.\"
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.    \" fudge factors for nroff and troff
.if n \{\
.if n \{\
.    ds #H 0
.    ds #H 0
.    ds #V .8m
.    ds #V .8m
.    ds #F .3m
.    ds #F .3m
.    ds #[ \f1
.    ds #[ \f1
.    ds #] \fP
.    ds #] \fP
.\}
.\}
.if t \{\
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #V .6m
.    ds #F 0
.    ds #F 0
.    ds #[ \&
.    ds #[ \&
.    ds #] \&
.    ds #] \&
.\}
.\}
.    \" simple accents for nroff and troff
.    \" simple accents for nroff and troff
.if n \{\
.if n \{\
.    ds ' \&
.    ds ' \&
.    ds ` \&
.    ds ` \&
.    ds ^ \&
.    ds ^ \&
.    ds , \&
.    ds , \&
.    ds ~ ~
.    ds ~ ~
.    ds /
.    ds /
.\}
.\}
.if t \{\
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \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h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
.if \n(.H>23 .if \n(.V>19 \
\{\
\{\
.    ds : e
.    ds : e
.    ds 8 ss
.    ds 8 ss
.    ds o a
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds Th \o'LP'
.    ds ae ae
.    ds ae ae
.    ds Ae AE
.    ds Ae AE
.\}
.\}
.rm #[ #] #H #V #F C
.rm #[ #] #H #V #F C
.\" ========================================================================
.\" ========================================================================
.\"
.\"
.IX Title "GC-ANALYZE 1"
.IX Title "GC-ANALYZE 1"
.TH GC-ANALYZE 1 "2010-07-31" "gcc-4.5.1" "GNU"
.TH GC-ANALYZE 1 "2010-07-31" "gcc-4.5.1" "GNU"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.\" way too many mistakes in technical documents.
.if n .ad l
.if n .ad l
.nh
.nh
.SH "NAME"
.SH "NAME"
gc\-analyze \- Analyze Garbage Collector (GC) memory dumps
gc\-analyze \- Analyze Garbage Collector (GC) memory dumps
.SH "SYNOPSIS"
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBgc-analyze\fR [\fB\s-1OPTION\s0\fR] ... [\fIfile\fR]
\&\fBgc-analyze\fR [\fB\s-1OPTION\s0\fR] ... [\fIfile\fR]
.SH "DESCRIPTION"
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBgc-analyze\fR prints an analysis of a \s-1GC\s0 memory dump to
\&\fBgc-analyze\fR prints an analysis of a \s-1GC\s0 memory dump to
standard out.
standard out.
.PP
.PP
The memory dumps may be created by calling
The memory dumps may be created by calling
\&\f(CW\*(C`gnu.gcj.util.GCInfo.enumerate(String namePrefix)\*(C'\fR from java
\&\f(CW\*(C`gnu.gcj.util.GCInfo.enumerate(String namePrefix)\*(C'\fR from java
code.  A memory dump will be created on an out of memory condition if
code.  A memory dump will be created on an out of memory condition if
\&\f(CW\*(C`gnu.gcj.util.GCInfo.setOOMDump(String namePrefix)\*(C'\fR is called
\&\f(CW\*(C`gnu.gcj.util.GCInfo.setOOMDump(String namePrefix)\*(C'\fR is called
before the out of memory occurs.
before the out of memory occurs.
.PP
.PP
Running this program will create two files: \fITestDump001\fR and
Running this program will create two files: \fITestDump001\fR and
\&\fITestDump001.bytes\fR.
\&\fITestDump001.bytes\fR.
.PP
.PP
.Vb 2
.Vb 2
\&        import gnu.gcj.util.*;
\&        import gnu.gcj.util.*;
\&        import java.util.*;
\&        import java.util.*;
\&
\&
\&        public class GCDumpTest
\&        public class GCDumpTest
\&        {
\&        {
\&            static public void main(String args[])
\&            static public void main(String args[])
\&            {
\&            {
\&                ArrayList l = new ArrayList(1000);
\&                ArrayList l = new ArrayList(1000);
\&
\&
\&                for (int i = 1; i < 1500; i++) {
\&                for (int i = 1; i < 1500; i++) {
\&                    l.add("This is string #" + i);
\&                    l.add("This is string #" + i);
\&                }
\&                }
\&                GCInfo.enumerate("TestDump");
\&                GCInfo.enumerate("TestDump");
\&            }
\&            }
\&        }
\&        }
.Ve
.Ve
.PP
.PP
The memory dump may then be displayed by running:
The memory dump may then be displayed by running:
.PP
.PP
.Vb 1
.Vb 1
\&        gc\-analyze \-v TestDump001
\&        gc\-analyze \-v TestDump001
.Ve
.Ve
.SH "OPTIONS"
.SH "OPTIONS"
.IX Header "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-\-verbose\fR" 4
.IP "\fB\-\-verbose\fR" 4
.IX Item "--verbose"
.IX Item "--verbose"
.PD 0
.PD 0
.IP "\fB\-v\fR" 4
.IP "\fB\-v\fR" 4
.IX Item "-v"
.IX Item "-v"
.PD
.PD
Verbose output.
Verbose output.
.IP "\fB\-p\fR \fItool-prefix\fR" 4
.IP "\fB\-p\fR \fItool-prefix\fR" 4
.IX Item "-p tool-prefix"
.IX Item "-p tool-prefix"
Prefix added to the names of the \fBnm\fR and \fBreadelf\fR commands.
Prefix added to the names of the \fBnm\fR and \fBreadelf\fR commands.
.IP "\fB\-d\fR \fIdirectory\fR" 4
.IP "\fB\-d\fR \fIdirectory\fR" 4
.IX Item "-d directory"
.IX Item "-d directory"
Directory that contains the executable and shared libraries used when
Directory that contains the executable and shared libraries used when
the dump was generated.
the dump was generated.
.IP "\fB\-\-help\fR" 4
.IP "\fB\-\-help\fR" 4
.IX Item "--help"
.IX Item "--help"
Print a help message, then exit.
Print a help message, then exit.
.IP "\fB\-\-version\fR" 4
.IP "\fB\-\-version\fR" 4
.IX Item "--version"
.IX Item "--version"
Print version information, then exit.
Print version information, then exit.
.SH "SEE ALSO"
.SH "SEE ALSO"
.IX Header "SEE ALSO"
.IX Header "SEE ALSO"
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
.PP
.PP
Permission is granted to copy, distribute and/or modify this document
Permission is granted to copy, distribute and/or modify this document
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
any later version published by the Free Software Foundation; with no
Invariant Sections, the Front-Cover Texts being (a) (see below), and
Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below).
with the Back-Cover Texts being (b) (see below).
A copy of the license is included in the
A copy of the license is included in the
man page \fIgfdl\fR\|(7).
man page \fIgfdl\fR\|(7).
.PP
.PP
(a) The \s-1FSF\s0's Front-Cover Text is:
(a) The \s-1FSF\s0's Front-Cover Text is:
.PP
.PP
.Vb 1
.Vb 1
\&     A GNU Manual
\&     A GNU Manual
.Ve
.Ve
.PP
.PP
(b) The \s-1FSF\s0's Back-Cover Text is:
(b) The \s-1FSF\s0's Back-Cover Text is:
.PP
.PP
.Vb 3
.Vb 3
\&     You have freedom to copy and modify this GNU Manual, like GNU
\&     You have freedom to copy and modify this GNU Manual, like GNU
\&     software.  Copies published by the Free Software Foundation raise
\&     software.  Copies published by the Free Software Foundation raise
\&     funds for GNU development.
\&     funds for GNU development.
.Ve
.Ve
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.