[sip-comm-issues] [Issue 431] New - SystrayServiceJdicImpl$ShowPopupTask executes too often

lubomir_m at dev.java.net lubomir_m at dev.java.net
Tue Jul 29 10:55:31 CEST 2008


https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=431
                 Issue #|431
                 Summary|SystrayServiceJdicImpl$ShowPopupTask executes too ofte
                        |n
               Component|sip-communicator
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|development
             Assigned to|issues at sip-communicator
             Reported by|lubomir_m






------- Additional comments from lubomir_m at dev.java.net Tue Jul 29 08:55:29 +0000 2008 -------
1. SystrayServiceJdicImpl$ShowPopupTask is scheduled to execute every second
which effectively means its associated TimerThread wakes up every second.
Because its purpose is to dispatch SystrayMessages from
SystrayServiceJdicImpl#messageQueue, there's no reason for a thread to wake up
so often unless there's actual work to be performed.

I'd suggest implementing a solution which relies on blocking/waking up on
SystrayServiceJdicImpl#messageQueue.

2. Another separate issue with SystrayServiceJdicImpl$ShowPopupTask is that it
and SystrayServiceJdicImpl#showPopupMessage(String,String,int) don't synchronize
their access to SystrayServiceJdicImpl#messageQueue and thus open the undesired
opportunity for racing.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: issues-help at sip-communicator.dev.java.net





More information about the issues mailing list