set names on some Java threads
Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
This commit is contained in:
@@ -264,6 +264,8 @@ public class LocalOfficeWindow
|
|||||||
|
|
||||||
private CallWatchThread( long nTimeout )
|
private CallWatchThread( long nTimeout )
|
||||||
{
|
{
|
||||||
|
super("CallWatchThread deprecated");
|
||||||
|
|
||||||
this.aWatchedThread = Thread.currentThread();
|
this.aWatchedThread = Thread.currentThread();
|
||||||
this.nTimeout = nTimeout;
|
this.nTimeout = nTimeout;
|
||||||
start();
|
start();
|
||||||
|
@@ -36,7 +36,7 @@ public class CallWatchThread extends Thread
|
|||||||
|
|
||||||
public CallWatchThread(long nTimeout)
|
public CallWatchThread(long nTimeout)
|
||||||
{
|
{
|
||||||
this(nTimeout, "");
|
this(nTimeout, "CallWatchThread");
|
||||||
}
|
}
|
||||||
|
|
||||||
public CallWatchThread( long nTimeout, String aTag )
|
public CallWatchThread( long nTimeout, String aTag )
|
||||||
|
@@ -731,6 +731,8 @@ public class LocalOfficeConnection
|
|||||||
|
|
||||||
private StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out)
|
private StreamProcessor(final java.io.InputStream in, final java.io.PrintStream out)
|
||||||
{
|
{
|
||||||
|
super("StreamProcessor");
|
||||||
|
|
||||||
m_in = in;
|
m_in = in;
|
||||||
m_print = out;
|
m_print = out;
|
||||||
start();
|
start();
|
||||||
|
@@ -269,7 +269,7 @@ public class OOoBean
|
|||||||
// avoid concurrent access from multiple threads
|
// avoid concurrent access from multiple threads
|
||||||
final OfficeConnection iConn = getOOoConnection();
|
final OfficeConnection iConn = getOOoConnection();
|
||||||
|
|
||||||
Thread aConnectorThread = new Thread() {
|
Thread aConnectorThread = new Thread("getServiceManager") {
|
||||||
@Override
|
@Override
|
||||||
public void run()
|
public void run()
|
||||||
{
|
{
|
||||||
|
@@ -69,6 +69,8 @@ public class JobQueue {
|
|||||||
Object _disposeId;
|
Object _disposeId;
|
||||||
|
|
||||||
JobDispatcher(Object disposeId) {
|
JobDispatcher(Object disposeId) {
|
||||||
|
super("JobDispatcher");
|
||||||
|
|
||||||
if(DEBUG) System.err.println("JobQueue$JobDispatcher.<init>:" + _threadId);
|
if(DEBUG) System.err.println("JobQueue$JobDispatcher.<init>:" + _threadId);
|
||||||
|
|
||||||
_disposeId = disposeId;
|
_disposeId = disposeId;
|
||||||
|
@@ -68,7 +68,7 @@ public final class AsynchronousFinalizer {
|
|||||||
private static final LinkedList<Job> queue = new LinkedList<Job>();
|
private static final LinkedList<Job> queue = new LinkedList<Job>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Thread t = new Thread() {
|
Thread t = new Thread("AsynchronousFinalizer") {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
Reference in New Issue
Block a user