async-http-client
async-http-client copied to clipboard
High CPU consumptions with Java 11
Hi! I have very high CPU consumptions with Java 11. It's ok with java 8-9-10. I've created simple program to reproduce this bug. Test ran with oracle and openjdk. Program: https://github.com/ZhezherP/AHC-java-11-bug
VisualVM dumps and screenshots are attached. snapshot-1612971737998-example-java11.nps.txt snapshot-1612972190828-example-java10.nps.txt
Java 10
Java 11
Java 11 reason
do we know what's the reason for this?
This isn't super helpful, more of a "me too," but I seem to be encountering the same issue on Java 11. I have a Play app, so perhaps there is some interaction there. However, I also am using Java 11 and see profiles that look very similar to yours, where the AsyncHttpClient
threads appear to consume a huge amount of CPU. Have you found any solution to the problem?
@DanielSaunders no, still using java10