Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-435 Eliminate usage of Executors.defaultThreadFactory()
  3. AS7-555

Extensive use of default thread factories in jboss-as-host-controller

    Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.Beta3
    • Component/s: None
    • Labels:
      None

      Description

              jboss-as-host-controller  (7 usages)
                  org.jboss.as.host.controller  (5 usages)
                      HostControllerBootstrap.HostControllerExecutorService  (1 usage)
                          start(StartContext)  (1 usage)
                              (363: 41) executorService = Executors.newScheduledThreadPool(DEFAULT_POOL_SIZE, threadFactoryValue.getValue());
                      ProcessControllerConnectionService  (2 usages)
                          start(StartContext)  (2 usages)
                              (68: 53) configuration.setReadExecutor(Executors.newCachedThreadPool());
                              (70: 54) configuration.setThreadFactory(Executors.defaultThreadFactory());
                      RemoteDomainConnectionService  (2 usages)
                          register(String, InetAddress, int, DomainControllerSlave)  (2 usages)
                              (112: 42) config.setReadExecutor(Executors.newCachedThreadPool()); //TODO inject
                              (115: 43) config.setThreadFactory(Executors.defaultThreadFactory()); //TODO inject
                  org.jboss.as.host.controller.mgmt  (2 usages)
                      RemoteDomainControllerSlaveClient  (2 usages)
                          (49: 59) private final ThreadFactory threadFactory = Executors.defaultThreadFactory();
                          (50: 63) private final ExecutorService executorService = Executors.newCachedThreadPool(threadFactory);
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                johnbailey John Bailey
                Reporter:
                dmlloyd David Lloyd
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: