mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 709595 - Add a name for each java thread and timer to aide with debugging. r=blassey
--HG-- extra : rebase_source : 1f5472ef5301739425b162d5ce4b28a577daf0fb
This commit is contained in:
parent
01d7e5edbc
commit
9cc75f8b7b
@ -165,7 +165,7 @@ public class CrashReporter extends Activity
|
||||
public void run() {
|
||||
sendReport(mPendingMinidumpFile, mExtrasStringMap, mPendingExtrasFile);
|
||||
}
|
||||
}).start();
|
||||
}, "CrashReporter Thread").start();
|
||||
}
|
||||
|
||||
public void onCloseClick(View v) { // bound via crash_reporter.xml
|
||||
|
@ -2089,7 +2089,7 @@ abstract public class GeckoApp
|
||||
// we really don't care.
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}, "DNSPrefetcher Thread").start();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -146,6 +146,7 @@ public class GeckoAppShell
|
||||
new SynchronousQueue<Handler>();
|
||||
|
||||
public void run() {
|
||||
setName("GeckoLooper Thread");
|
||||
Looper.prepare();
|
||||
try {
|
||||
mHandlerQueue.put(new Handler());
|
||||
|
@ -1009,7 +1009,7 @@ public class GeckoInputConnection
|
||||
} catch (InterruptedException e) {}
|
||||
}
|
||||
|
||||
static private final Timer mIMETimer = new Timer();
|
||||
static private final Timer mIMETimer = new Timer("GeckoInputConnection Timer");
|
||||
|
||||
static private final int NOTIFY_IME_RESETINPUTSTATE = 0;
|
||||
static private final int NOTIFY_IME_SETOPENSTATE = 1;
|
||||
|
@ -518,7 +518,7 @@ public class PanZoomController
|
||||
stopAnimationTimer();
|
||||
}
|
||||
|
||||
mAnimationTimer = new Timer();
|
||||
mAnimationTimer = new Timer("Animation Timer");
|
||||
mAnimationTimer.scheduleAtFixedRate(new TimerTask() {
|
||||
@Override
|
||||
public void run() { mController.post(runnable); }
|
||||
|
Loading…
Reference in New Issue
Block a user