An ultra-lightweight high-precision logger for OpenJDK
I had an interesting question from one of our developers here at Red Hat:
“When I was investigating a performance issue in our project after switched to oracle’s jdk7u40, I found a performance regression in class sun.net.www.protocl.http.HttpURLConnection.getOutputStream()
. This method takes more cpu time than with jdk7u25.”
And it does, much more time. In fact, when fixedLengthStreamingMode
is enabled HttpURLConnection.getOutputStream()
takes ten times as long: about 1.2 milliseconds versus 47 microseconds.
Continue reading “An ultra-lightweight high-precision logger for OpenJDK”