[JIRA] Resolved: (GRIZZLY-1618) SelectorRunner has a bug in thread naming routine.

  • From: "oleksiys (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Resolved: (GRIZZLY-1618) SelectorRunner has a bug in thread naming routine.
  • Date: Thu, 12 Dec 2013 01:04:49 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/GRIZZLY-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

oleksiys resolved GRIZZLY-1618.
-------------------------------

    Fix Version/s: 2.2.22
                   2.3.9
                   3.0
       Resolution: Fixed

good catch!

fixed.

[2.2.x]
Revision:   fdc6159fd05c86e5a853fda0430f5f26382420ed
Date:       2013-12-12 00:59:41 UTC


[2.3.x]
Revision:   cf0090d779dd995b6ea5f5d45acd3f2de717d92f
Date:       2013-12-12 00:54:25 UTC

[master]
Revision:   9980f7e2171ba7b1b2bf2ecb131cb19a12f47867
Date:       2013-12-12 00:54:25 UTC


Log Message:
------------
+ fix issue #1618
https://java.net/jira/browse/GRIZZLY-1618

"SelectorRunner has a bug in thread naming routine"

> SelectorRunner has a bug in thread naming routine.
> --------------------------------------------------
>
>                 Key: GRIZZLY-1618
>                 URL: https://java.net/jira/browse/GRIZZLY-1618
>             Project: grizzly
>          Issue Type: Bug
>            Reporter: haebin
>             Fix For: 2.2.22, 2.3.9, 3.0
>
>
> I think it's affecting most of the versions.
> If you deploy leader-follower IO strategy, the thread naming routine of 
> SelectorRunner runs into a trouble.
> 2.2.16 (SelectorRunner.java:248)
>    currentThread.setName(currentThread.getName() + " SelectorRunner");
> Above routine would append " SelectorRunner" endlessly resulting extremely 
> long thread name over time.
> So, this needs to be fixed asap.
>    currentThread.getName().endsWith(" SelectorRunner" ? 
> currentThread.getName() : (currentThread.getName() + " SelectorRunner")
>  

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

        


[JIRA] Created: (GRIZZLY-1618) SelectorRunner has a bug in thread naming routine.

haebin (JIRA) 12/11/2013

[JIRA] Resolved: (GRIZZLY-1618) SelectorRunner has a bug in thread naming routine.

oleksiys (JIRA) 12/12/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close