deephaven-core
deephaven-core copied to clipboard
Remove SoftReference cache OOM mitigation
If the JDK lands a fix for #5518, or we migrate to a GC that doesn't exhibit the issue (ZGC), we should be able to undo the workaround.
Filed external issue, https://github.com/adoptium/adoptium-support/issues/1096
https://bugs.openjdk.org/browse/JDK-8192647 has been marked as resolved in JDK 25, so this could be pending for a while yet.
The flag -XX:GCLockerRetryAllocationCount is no longer applicable for JDK 25, trying to run nightlies with it causes failures with the error message:
Unrecognized VM option 'GCLockerRetryAllocationCount=128'