# Thread Details Resolver

###### Identifier:

org.eclipse.mat.api.threadResolver

###### Since:

0.7.0

###### Description:

The Thread Overview query prints information about the thread objects found in the heap dump. This extension point can be used to provide more details.

For example, let's assume your application contains a pool of "task worker" threads executing your tasks. One could use the thread details resolver to extract this task information and display it in the overview columns and/or in the details page of a thread.

###### Configuration Markup:

<!ELEMENT extension (resolver)+>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT resolver EMPTY>

<!ATTLIST resolver

impl CDATA #REQUIRED

>

- impl - implementor of `org.eclipse.mat.snapshot.extension.IThreadDetailsResolver`.

###### Examples:

Following is an example of a thread details resolver declaration:

       <extension point="org.eclipse.mat.api.threadResolver">
          <resolver impl="com.acme.TaskWorkerDetailResolver" />
       </extension>

###### Supplied Implementation:

The thread details resolver `org.eclipse.mat.dtfj.ThreadDetailsResolver`, which delegates to `org.eclipse.mat.dtfj.ThreadDetailsResolver1` extracts extra thread information from IBM DTFJ dumps such as native stack information, thread states and priority. This resolver is in the DTFJ dump reader plugin `org.eclipse.mat.dtfj`.

Copyright (c) 2008,2011 SAP AG and IBM Corporation.
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