[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3253) JMX view search bar behavior is stinky

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Nov 24 12:44:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439538#action_12439538 ] 

Rob Stryker commented on JBIDE-3253:
------------------------------------

The first thread does get canceled, however in the last implementation, because the cancelation is done with a variable (setStopped()), there's no guarantee when that thread will stop.

So as was done before, I'd perform  setStopped(), then launch  newThread.  Then both threads could be working on the same map.

In the new implementation, the first thread will stop sometime after setStopped() is called, but, at least they're not working on the same map now and changes will only be "persisted" if the thread actually finishes.

The first thread *is* canceled in both the before and the current cases. The difference was what maps the threads were acting on. 



> JMX view search bar behavior is stinky
> --------------------------------------
>
>                 Key: JBIDE-3253
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3253
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jmx
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 3.0.0.cr1
>
>
> The search thing doesn't work so good. Needs improvement. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list