# Consistent 100% CPU use of safeCall-queue thread

**URL:** <https://community.openhab.org/t/consistent-100-cpu-use-of-safecall-queue-thread/143792>\
**Category:** Runtime\
**Created:** [January 26, 2023, 1:02am UTC](https://community.openhab.org/t/consistent-100-cpu-use-of-safecall-queue-thread/143792 "2023-01-26T01:02:01Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![wborn](https://community.openhab.org/user_avatar/community.openhab.org/wborn/32/55946_2.png) [@wborn](https://community.openhab.org/u/wborn)\
**Post date:** [August 9, 2023, 5:19pm UTC](https://community.openhab.org/t/consistent-100-cpu-use-of-safecall-queue-thread/143792/44 "2023-08-09T17:19:56Z")

</div>

I made some bundles with patches to use the Java 11 `LinkedTransferQueue` on Java 17.  
This will only work with OH 4.0.1.  
Maybe someone wants to test it?

You can update the bundles on the Console with these commands:

```auto
bundle:install -s https://github.com/openhab/openhab-base-fixes/releases/download/base-fixes-20230809/base-fixes-1.0.0-SNAPSHOT.jar
bundle:update org.openhab.core https://github.com/wborn/openhab-core/releases/download/base-fixes-20230809/org.openhab.core-4.0.1-SNAPSHOT.jar
bundle:update org.jupnp https://github.com/wborn/jupnp/releases/download/base-fixes-20230809/org.jupnp-2.8.0-SNAPSHOT.jar

```

The org.jupnp update is optional as it may fail if you don’t use any add-on that depends on it.  
After updating the bundles openHAB needs to be restarted for it to work again.

* * *

To revert the changes use these commands:

```auto
bundle:uninstall org.openhab.base-fixes
bundle:update org.openhab.core https://openhab.jfrog.io/artifactory/libs-release/org/openhab/core/bundles/org.openhab.core/4.0.1/org.openhab.core-4.0.1.jar
bundle:update org.jupnp https://repo1.maven.org/maven2/org/jupnp/org.jupnp/2.7.0/org.jupnp-2.7.0.jar

```

Then again restart openHAB.

---

_[View the full topic](https://community.openhab.org/t/consistent-100-cpu-use-of-safecall-queue-thread/143792)._
