You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Andreas Kohn (JIRA)" <ji...@apache.org> on 2014/08/20 13:39:25 UTC

[jira] [Created] (SHIRO-514) ExecutorServiceSessionValidationScheduler should create threads with a configurable name

Andreas Kohn created SHIRO-514:
----------------------------------

             Summary: ExecutorServiceSessionValidationScheduler should create threads with a configurable name
                 Key: SHIRO-514
                 URL: https://issues.apache.org/jira/browse/SHIRO-514
             Project: Shiro
          Issue Type: Improvement
          Components: Session Management
    Affects Versions: 1.2.3
            Reporter: Andreas Kohn
         Attachments: SHIRO-514-thread-name-prefix.patch

While looking through thread dumps I noticed a bunch of 'Thread-[number]' threads. From the heap dump I took I identified them as coming from the ExecutorServiceSessionValidationScheduler, which creates new threads without setting their name.

This is confusing, so attached patch makes the thread name (or better: a prefix of it) configurable, and sets a reasonable default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)