review: InvokeLaterDispatcher should set thread name

David Hill David.Hill at Oracle.com
Mon Oct 5 15:24:39 UTC 2015


Kevin,

A good suggestion came in: InvokeLaterDispatcher should set thread name <https://bugs.openjdk.java.net/browse/JDK-8138853>
This will help debugging.

JBS: https://bugs.openjdk.java.net/browse/JDK-8138853

a one line fix:

ddhill at ddhlinux:~/sb/9/graphics/rt$ hg qdiff
diff -r 1909f0a4308f modules/graphics/src/main/java/com/sun/glass/ui/InvokeLaterDispatcher.java
--- a/modules/graphics/src/main/java/com/sun/glass/ui/InvokeLaterDispatcher.java    Fri Oct 02 16:17:17 2015 -0700
+++ b/modules/graphics/src/main/java/com/sun/glass/ui/InvokeLaterDispatcher.java    Mon Oct 05 11:12:03 2015 -0400
@@ -68,6 +68,7 @@
      private final InvokeLaterSubmitter invokeLaterSubmitter;

      public InvokeLaterDispatcher(InvokeLaterSubmitter invokeLaterSubmitter) {
+        super("InvokeLaterDispatcher");
          setDaemon(true);

          this.invokeLaterSubmitter = invokeLaterSubmitter;

-- 
David Hill<David.Hill at Oracle.com>
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the world."
-- George Santayana (1863 - 1952)



More information about the openjfx-dev mailing list