< prev index next >

src/java.management/share/classes/java/lang/management/ThreadInfo.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2019, 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. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2018, 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. Oracle designates this
*** 32,49 **** import static java.lang.Thread.State.*; /** * Thread information. {@code ThreadInfo} contains the information * about a thread including: ! * <h2>General thread information</h2> * <ul> * <li>Thread ID.</li> * <li>Name of the thread.</li> * <li>Whether a thread is a daemon thread</li> * </ul> * ! * <h2>Execution information</h2> * <ul> * <li>Thread state.</li> * <li>The object upon which the thread is blocked due to: * <ul> * <li>waiting to enter a synchronization block/method, or</li> --- 32,49 ---- import static java.lang.Thread.State.*; /** * Thread information. {@code ThreadInfo} contains the information * about a thread including: ! * <h3>General thread information</h3> * <ul> * <li>Thread ID.</li> * <li>Name of the thread.</li> * <li>Whether a thread is a daemon thread</li> * </ul> * ! * <h3>Execution information</h3> * <ul> * <li>Thread state.</li> * <li>The object upon which the thread is blocked due to: * <ul> * <li>waiting to enter a synchronization block/method, or</li>
*** 60,70 **** * <li>List of <a href="LockInfo.html#OwnableSynchronizer"> * ownable synchronizers</a> locked by the thread.</li> * <li>Thread priority</li> * </ul> * ! * <h3><a id="SyncStats">Synchronization Statistics</a></h3> * <ul> * <li>The number of times that the thread has blocked for * synchronization or waited for notification.</li> * <li>The accumulated elapsed time that the thread has blocked * for synchronization or waited for notification --- 60,70 ---- * <li>List of <a href="LockInfo.html#OwnableSynchronizer"> * ownable synchronizers</a> locked by the thread.</li> * <li>Thread priority</li> * </ul> * ! * <h4><a id="SyncStats">Synchronization Statistics</a></h4> * <ul> * <li>The number of times that the thread has blocked for * synchronization or waited for notification.</li> * <li>The accumulated elapsed time that the thread has blocked * for synchronization or waited for notification
*** 78,88 **** * </ul> * * <p>This thread information class is designed for use in monitoring of * the system, not for synchronization control. * ! * <h3>MXBean Mapping</h3> * {@code ThreadInfo} is mapped to a {@link CompositeData CompositeData} * with attributes as specified in * the {@link #from from} method. * * @see ThreadMXBean#getThreadInfo --- 78,88 ---- * </ul> * * <p>This thread information class is designed for use in monitoring of * the system, not for synchronization control. * ! * <h4>MXBean Mapping</h4> * {@code ThreadInfo} is mapped to a {@link CompositeData CompositeData} * with attributes as specified in * the {@link #from from} method. * * @see ThreadMXBean#getThreadInfo
< prev index next >