Replies: 4 comments 11 replies
-
|
Beta Was this translation helpful? Give feedback.
-
The JDK 8, which was released almost a decade ago, is quite old. Would you like to continue supporting it? In my humble opinion, it would be wise to switch to the newer JVM. |
Beta Was this translation helpful? Give feedback.
-
Akka just dropped JDK 8. Will pekko drop JDK 8 in pekko 1.2.x? |
Beta Was this translation helpful? Give feedback.
-
I haven't been able to find any information from the discussions recently so I am commenting on this one. My team can't move to java 11 until 2026 and we are currently migrating away from Play due to that constraint. Does it look like Pekko will at least support security updates for java 8 -compatible versions for a few more years? |
Beta Was this translation helpful? Give feedback.
-
Hi!
May be I'm wrong but seems that Pekko does still support building and running on Java 8. Would you consider in the future raising the minimal JDK version requirement to at least 11?
I have a fix to contribute in the ForkJoinExecutorConfigurator but it relies on Java 9+ features of the ForkJoinPool, namely maximumPoolSize constructor parameter.
In a nutshell the problem is that during periods of prolonged CPU starvation, an Akka app (cluster + http) might slowly create more and more idle threads in the default pool until it becomes unresponsive or dies with OOM. Currently ForkJoinExecutorConfigurator does not specify maximumPoolSize which makes the pool effectively unbounded. We can use the default JDK common pool strategy there - parallelism + max spare threads count (default: 256) with the max spare threads count configurable.
Beta Was this translation helpful? Give feedback.
All reactions