<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd" > | |
<reference id="ref_inspections_path_to_gc_roots" xml:lang="en-us"> | |
<title>Path to GC Roots</title> | |
<shortdesc>Find out who is keeping alive a set of objects. | |
</shortdesc> | |
<prolog> | |
<copyright> | |
<copyryear year=""></copyryear> | |
<copyrholder> | |
Copyright (c) 2008, 2010 SAP AG and others. | |
All rights reserved. This program and the accompanying materials | |
are made available under the terms of the Eclipse Public License v1.0 | |
which accompanies this distribution, and is available at | |
http://www.eclipse.org/legal/epl-v10.html | |
</copyrholder> | |
</copyright> | |
</prolog> | |
<refbody> | |
<section> | |
<title>Motivation</title> | |
<p>Having found an expensive object it is then important to find all the reasons it is kept alive.</p> | |
</section> | |
<section> | |
<title>Arguments</title> | |
<simpletable> | |
<sthead> | |
<stentry>Argument</stentry> | |
<stentry>Description</stentry> | |
</sthead> | |
<strow> | |
<stentry>object</stentry> | |
<stentry>One object for which the paths to GC roots should be found.</stentry> | |
</strow> | |
<strow> | |
<stentry>-excludes</stentry> | |
<stentry>Fields of certain classes which should be ignored when finding paths. For example this allows paths through Weak or Soft Reference referents to be ignored.</stentry> | |
</strow> | |
<strow> | |
<stentry>-numberofpaths</stentry> | |
<stentry>The number of different paths to be displayed.</stentry> | |
</strow> | |
</simpletable> | |
</section> | |
<section id="result"> | |
<title>Result</title> | |
</section> | |
</refbody> | |
</reference> |