Replies: 3 comments 8 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
-
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.
2 replies
-
Akka just dropped JDK 8. Will pekko drop JDK 8 in pekko 1.2.x? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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