Skip to content

Commit 1909362

Browse files
authored
Merge pull request #34010 from jhanders34/branch7
Switch the default BlockingQueue implementation used for Liberty's thread pool
2 parents a3fc4fd + 275e15d commit 1909362

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/com.ibm.ws.threading/src/com/ibm/ws/threading/internal/ExecutorServiceImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, 2025 IBM Corporation and others.
2+
* Copyright (c) 2010, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
@@ -216,8 +216,8 @@ ThreadPoolExecutor getThreadPool() {
216216

217217
public static boolean isBeta = Boolean.valueOf(System.getProperty("com.ibm.ws.beta.edition"));
218218

219-
// Default to use BoundedBuffer, but make it possible to easily switch to using ConcurrentPriorityBlockingQueue
220-
public static final boolean useBoundedBuffer = Boolean.valueOf(System.getProperty("io.openliberty.threading.useBoundedBuffer", "true"));
219+
// Default to use ConcurrentPriorityBlockingQueue, but make it possible to easily switch to using BoundedBuffer
220+
public static final boolean useBoundedBuffer = Boolean.valueOf(System.getProperty("io.openliberty.threading.useBoundedBuffer", "false"));
221221

222222
/**
223223
* Create a thread pool executor with the configured attributes from this

0 commit comments

Comments
 (0)