diff options
author | Matthias Klose <doko@gcc.gnu.org> | 2008-06-28 13:29:13 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2008-06-28 13:29:13 +0000 |
commit | e0441a5bfb29083a532307ba2b1fd6d6d13944ba (patch) | |
tree | 602cd7aa7c947386134690d8e0f6b53abcdeacb9 /libjava/classpath/java/lang/management | |
parent | 15c151967dd1cde61b79d26374f608f63a29d411 (diff) | |
download | gcc-e0441a5bfb29083a532307ba2b1fd6d6d13944ba.zip gcc-e0441a5bfb29083a532307ba2b1fd6d6d13944ba.tar.gz gcc-e0441a5bfb29083a532307ba2b1fd6d6d13944ba.tar.bz2 |
Import GNU Classpath (classpath-0_97_2-release).
libjava/
2008-06-28 Matthias Klose <doko@ubuntu.com>
Import GNU Classpath (classpath-0_97_2-release).
* Regenerate class and header files.
* Regenerate auto* files.
* gcj/javaprims.h: Define jobjectRefType.
* jni.cc (_Jv_JNI_GetObjectRefType): New (stub only).
(_Jv_JNIFunctions): Initialize GetObjectRefType.
* gnu/classpath/jdwp/VMVirtualMachine.java,
java/security/VMSecureRandom.java: Merge from classpath.
* HACKING: Fix typo.
* ChangeLog-2007: New file.
* configure.ac: Set JAVAC, pass --disable-regen-headers to classpath.
libjava/classpath/
2008-06-28 Matthias Klose <doko@ubuntu.com>
* m4/ac_prog_javac.m4: Disable check for JAVAC, when
not configured with --enable-java-maintainer-mode.
* aclocal.m4, configure: Regenerate.
* native/jni/gstreamer-peer/Makefile.am: Do not link with
libclasspathnative.
* native/jni/gstreamer-peer/Makefile.in: Regenerate.
* tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting
JCOMPILER, drop flags not understood by gcj.
From-SVN: r137223
Diffstat (limited to 'libjava/classpath/java/lang/management')
-rw-r--r-- | libjava/classpath/java/lang/management/ThreadInfo.java | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/libjava/classpath/java/lang/management/ThreadInfo.java b/libjava/classpath/java/lang/management/ThreadInfo.java index 884f5af..5b8856d 100644 --- a/libjava/classpath/java/lang/management/ThreadInfo.java +++ b/libjava/classpath/java/lang/management/ThreadInfo.java @@ -192,134 +192,6 @@ public class ThreadInfo /** * Constructs a new {@link ThreadInfo} corresponding - * to the thread specified. - * - * @param thread the thread on which the new instance - * will be based. - * @param blockedCount the number of times the thread - * has been blocked. - * @param blockedTime the accumulated number of milliseconds - * the specified thread has been blocked - * (only used with contention monitoring enabled) - * @param lock the monitor lock the thread is waiting for - * (only used if blocked) - * @param lockOwner the thread which owns the monitor lock, or - * <code>null</code> if it doesn't have an owner - * (only used if blocked) - * @param waitedCount the number of times the thread has been in a - * waiting state. - * @param waitedTime the accumulated number of milliseconds the - * specified thread has been waiting - * (only used with contention monitoring enabled) - * @param isInNative true if the thread is in a native method. - * @param isSuspended true if the thread is suspended. - * @param trace the stack trace of the thread to a pre-determined - * depth (see VMThreadMXBeanImpl) - */ - private ThreadInfo(Thread thread, long blockedCount, long blockedTime, - Object lock, Thread lockOwner, long waitedCount, - long waitedTime, boolean isInNative, boolean isSuspended, - StackTraceElement[] trace) - { - this(thread, blockedCount, blockedTime, lock, lockOwner, waitedCount, - waitedTime, isInNative, isSuspended, trace, new MonitorInfo[]{}, - new LockInfo[]{}); - } - - /** - * Constructs a new {@link ThreadInfo} corresponding - * to the thread specified. - * - * @param thread the thread on which the new instance - * will be based. - * @param blockedCount the number of times the thread - * has been blocked. - * @param blockedTime the accumulated number of milliseconds - * the specified thread has been blocked - * (only used with contention monitoring enabled) - * @param lock the monitor lock the thread is waiting for - * (only used if blocked) - * @param lockOwner the thread which owns the monitor lock, or - * <code>null</code> if it doesn't have an owner - * (only used if blocked) - * @param waitedCount the number of times the thread has been in a - * waiting state. - * @param waitedTime the accumulated number of milliseconds the - * specified thread has been waiting - * (only used with contention monitoring enabled) - * @param isInNative true if the thread is in a native method. - * @param isSuspended true if the thread is suspended. - * @param trace the stack trace of the thread to a pre-determined - * depth (see VMThreadMXBeanImpl) - * @param lockedMonitors an array of {@link MonitorInfo} objects - * representing locks held on object monitors - * by the thread. - * @param lockedSynchronizers an array of {@link LockInfo} objects - * representing locks held on ownable - * synchronizers by the thread. - * @since 1.6 - */ - private ThreadInfo(Thread thread, long blockedCount, long blockedTime, - Object lock, Thread lockOwner, long waitedCount, - long waitedTime, boolean isInNative, boolean isSuspended, - StackTraceElement[] trace, MonitorInfo[] lockedMonitors, - LockInfo[] lockedSynchronizers) - { - this(thread.getId(), thread.getName(), thread.getState(), blockedCount, blockedTime, - lock == null ? null : lock.getClass().getName() + "@" + - Integer.toHexString(System.identityHashCode(lock)), - lockOwner == null ? -1 : lockOwner.getId(), - lockOwner == null ? null : lockOwner.getName(), - waitedCount, waitedTime, isInNative, isSuspended, - trace, lockedMonitors, lockedSynchronizers); - } - - /** - * Constructs a new {@link ThreadInfo} corresponding - * to the thread details specified. - * - * @param threadId the id of the thread on which this - * new instance will be based. - * @param threadName the name of the thread on which - * this new instance will be based. - * @param threadState the state of the thread on which - * this new instance will be based. - * @param blockedCount the number of times the thread - * has been blocked. - * @param blockedTime the accumulated number of milliseconds - * the specified thread has been blocked - * (only used with contention monitoring enabled) - * @param lockName the name of the monitor lock the thread is waiting for - * (only used if blocked) - * @param lockOwnerId the id of the thread which owns the monitor - * lock, or <code>-1</code> if it doesn't have an owner - * (only used if blocked) - * @param lockOwnerName the name of the thread which owns the monitor - * lock, or <code>null</code> if it doesn't have an - * owner (only used if blocked) - * @param waitedCount the number of times the thread has been in a - * waiting state. - * @param waitedTime the accumulated number of milliseconds the - * specified thread has been waiting - * (only used with contention monitoring enabled) - * @param isInNative true if the thread is in a native method. - * @param isSuspended true if the thread is suspended. - * @param trace the stack trace of the thread to a pre-determined - * depth (see VMThreadMXBeanImpl) - */ - private ThreadInfo(long threadId, String threadName, Thread.State threadState, - long blockedCount, long blockedTime, String lockName, - long lockOwnerId, String lockOwnerName, long waitedCount, - long waitedTime, boolean isInNative, boolean isSuspended, - StackTraceElement[] trace) - { - this(threadId, threadName, threadState, blockedCount, blockedTime, - lockName, lockOwnerId, lockOwnerName, waitedCount, waitedTime, - isInNative, isSuspended, trace, new MonitorInfo[]{}, new LockInfo[]{}); - } - - /** - * Constructs a new {@link ThreadInfo} corresponding * to the thread details specified. * * @param threadId the id of the thread on which this |