Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-514

ExecutorServiceSessionValidationScheduler should create threads with a configurable name

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. SHIRO-514-thread-name-prefix.patch
          1 kB
          Andreas Kohn
        2. SHIRO-514-thread-name-prefix.patch
          2 kB
          Andreas Kohn

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ankon Andreas Kohn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: