Default Thread Pool Size

Since Payara Server

The thread pool thread-pool-1 starts with a minimum size of 2 instead of 1 (like in previous versions)

This includes the benefit of allowing users to execute tasks concurrently using the ManagedExecutorService and ManagedScheduledExecutorService components included with Java EE Concurrency Utilities (JSR-236). Without this change, new tasks submitted to these service components would just have been queued in a linear fashion.

This minor optimization is configured on the default domain template (so all newly created domains inherit it) and is also included in the Production Ready domain template as well, across all profiles (Full, Web, Embedded and Micro).

results matching ""

    No results matching ""