shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kohn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SHIRO-514) ExecutorServiceSessionValidationScheduler should create threads with a configurable name
Date Wed, 20 Aug 2014 11:39:26 GMT

     [ https://issues.apache.org/jira/browse/SHIRO-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Kohn updated SHIRO-514:
-------------------------------

    Attachment: SHIRO-514-thread-name-prefix.patch

> 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
>              Labels: easyfix, patch
>         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)

Mime
View raw message