mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Use workaround to fix high CPU usage by LinkedTransferQueue (#3756)
This is a workaround for JDK-8301341 by using the Java 11 LinkedTransferQueue with the QueueingThreadPoolExecutor in the Core and jUPnP. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
+10
-1
@@ -202,7 +202,8 @@
|
||||
<dependency>
|
||||
<groupId>org.jupnp</groupId>
|
||||
<artifactId>org.jupnp</artifactId>
|
||||
<version>2.7.1</version>
|
||||
<!-- Uses the Java 11 LinkedTransferQueue as workaround for JDK-8301341 -->
|
||||
<version>2.7.1.OH1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -436,6 +437,14 @@
|
||||
<version>5.12.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Provides the Java 11 LinkedTransferQueue used in workarounds for JDK-8301341 -->
|
||||
<dependency>
|
||||
<groupId>org.openhab</groupId>
|
||||
<artifactId>base-fixes</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user