summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-09-02 10:42:37 +0200
committerMichael Stahl <mstahl@redhat.com>2014-09-08 20:53:26 +0200
commit420170c8ddc5b6f16ca44113e28f77653aa3262f (patch)
tree4fd6569a81c5619e4f00464fdfdc51c9ef1be22b /jurt
parentc4da2452149b6ccc07c8d74717f11665767bb210 (diff)
set names on some Java threads
Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java2
-rw-r--r--jurt/com/sun/star/lib/util/AsynchronousFinalizer.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
index c81739248ca7..9d964761b187 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
@@ -69,6 +69,8 @@ public class JobQueue {
Object _disposeId;
JobDispatcher(Object disposeId) {
+ super("JobDispatcher");
+
if(DEBUG) System.err.println("JobQueue$JobDispatcher.<init>:" + _threadId);
_disposeId = disposeId;
diff --git a/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java b/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
index 28c32bbe35ce..2c884c86d580 100644
--- a/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
+++ b/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
@@ -68,7 +68,7 @@ public final class AsynchronousFinalizer {
private static final LinkedList<Job> queue = new LinkedList<Job>();
static {
- Thread t = new Thread() {
+ Thread t = new Thread("AsynchronousFinalizer") {
@Override
public void run() {
for (;;) {