jdk/src/java.management/share/classes/java/lang/management/ThreadInfo.java
changeset 44858 7183899b064b
parent 42106 90fc3dc00723
child 45005 467584d298c4
equal deleted inserted replaced
44857:9b65ef2c7ae9 44858:7183899b064b
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    59  *   <li>List of <a href="LockInfo.html#OwnableSynchronizer">
    59  *   <li>List of <a href="LockInfo.html#OwnableSynchronizer">
    60  *       ownable synchronizers</a> locked by the thread.</li>
    60  *       ownable synchronizers</a> locked by the thread.</li>
    61  *   <li>Thread priority</li>
    61  *   <li>Thread priority</li>
    62  * </ul>
    62  * </ul>
    63  *
    63  *
    64  * <h4><a name="SyncStats">Synchronization Statistics</a></h4>
    64  * <h4><a id="SyncStats">Synchronization Statistics</a></h4>
    65  * <ul>
    65  * <ul>
    66  *   <li>The number of times that the thread has blocked for
    66  *   <li>The number of times that the thread has blocked for
    67  *       synchronization or waited for notification.</li>
    67  *       synchronization or waited for notification.</li>
    68  *   <li>The accumulated elapsed time that the thread has blocked
    68  *   <li>The accumulated elapsed time that the thread has blocked
    69  *       for synchronization or waited for notification
    69  *       for synchronization or waited for notification
   693      * Returns a {@code ThreadInfo} object represented by the
   693      * Returns a {@code ThreadInfo} object represented by the
   694      * given {@code CompositeData}.
   694      * given {@code CompositeData}.
   695      * The given {@code CompositeData} must contain the following attributes
   695      * The given {@code CompositeData} must contain the following attributes
   696      * unless otherwise specified below:
   696      * unless otherwise specified below:
   697      * <blockquote>
   697      * <blockquote>
   698      * <table border summary="The attributes and their types the given CompositeData contains">
   698      * <table border="1">
   699      * <tr>
   699      * <caption style="display:none">The attributes and their types the given CompositeData contains</caption>
   700      *   <th align=left>Attribute Name</th>
   700      * <tr>
   701      *   <th align=left>Type</th>
   701      *   <th style="text-align:left">Attribute Name</th>
       
   702      *   <th style="text-align:left">Type</th>
   702      * </tr>
   703      * </tr>
   703      * <tr>
   704      * <tr>
   704      *   <td>threadId</td>
   705      *   <td>threadId</td>
   705      *   <td>{@code java.lang.Long}</td>
   706      *   <td>{@code java.lang.Long}</td>
   706      * </tr>
   707      * </tr>
   757      * <tr>
   758      * <tr>
   758      *   <td>lockOwnerName</td>
   759      *   <td>lockOwnerName</td>
   759      *   <td>{@code java.lang.String}</td>
   760      *   <td>{@code java.lang.String}</td>
   760      * </tr>
   761      * </tr>
   761      * <tr>
   762      * <tr>
   762      *   <td><a name="StackTrace">stackTrace</a></td>
   763      *   <td><a id="StackTrace">stackTrace</a></td>
   763      *   <td>{@code javax.management.openmbean.CompositeData[]}
   764      *   <td>{@code javax.management.openmbean.CompositeData[]}
   764      *       <p>
   765      *       <p>
   765      *       Each element is a {@code CompositeData} representing
   766      *       Each element is a {@code CompositeData} representing
   766      *       StackTraceElement containing the following attributes:
   767      *       StackTraceElement containing the following attributes:
   767      *       <blockquote>
   768      *       <blockquote>
   768      *       <table cellspacing=1 cellpadding=0 summary="The attributes and their types the given CompositeData contains">
   769      *       <table cellspacing=1 cellpadding=0>
       
   770      *       <caption style="display:none">The attributes and their types the given CompositeData contains</caption>
   769      *       <tr>
   771      *       <tr>
   770      *         <th align=left>Attribute Name</th>
   772      *         <th style="text-align:left">Attribute Name</th>
   771      *         <th align=left>Type</th>
   773      *         <th style="text-align:left">Type</th>
   772      *       </tr>
   774      *       </tr>
   773      *       <tr>
   775      *       <tr>
   774      *         <td>moduleName</td>
   776      *         <td>moduleName</td>
   775      *         <td>{@code java.lang.String}</td>
   777      *         <td>{@code java.lang.String}</td>
   776      *       </tr>
   778      *       </tr>