High CPU in sun.net.www.MeteredStream.skip
Issue
- We see high CPU in the following calls
Thread 28740: (state = IN_JAVA)
- java.io.BufferedInputStream.fill() @bci=175, line=218 (Compiled frame; information may be imprecise)
- java.io.BufferedInputStream.skip(long) @bci=47, line=352 (Compiled frame)
- sun.net.www.MeteredStream.skip(long) @bci=67, line=134 (Compiled frame)
- sun.net.www.http.KeepAliveStream.close() @bci=62, line=76 (Compiled frame)
- sun.net.www.MeteredStream.justRead(int) @bci=13, line=50 (Compiled frame)
- sun.net.www.MeteredStream.read(byte[], int, int) @bci=24, line=117 (Compiled frame)
- java.io.FilterInputStream.read(byte[], int, int) @bci=7, line=116 (Compiled frame)
- sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(byte[], int, int) @bci=4, line=2668 (Compiled frame)
- sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(byte[]) @bci=5, line=2663 (Compiled frame)
Environment
- Java
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.