googleapis / java-spanner-jdbc

Apache License 2.0
64 stars 48 forks source link

Multiplexed session maintainer can cause high CPU load if used on Java 8 #1736

Closed olavloite closed 2 months ago

olavloite commented 2 months ago

The multiplexed session maintainer uses a ScheduledExecutorService with a core pool size of 0. This can cause high CPU usage on Java 8: https://bugs.openjdk.org/browse/JDK-8129861