--- a/src/java.net.http/share/classes/jdk/internal/net/http/WindowController.java Fri Mar 02 10:18:48 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/WindowController.java Fri Mar 02 15:14:03 2018 +0000
@@ -186,7 +186,9 @@
if (size < 0)
return false;
connectionWindowSize = size;
- DEBUG_LOGGER.log(Level.DEBUG, "Connection window size is now %d", size);
+ DEBUG_LOGGER.log(Level.DEBUG,
+ "Connection window size is now %d (amount added %d)",
+ size, amount);
// Notify waiting streams, until the new increased window size is
// effectively exhausted.
@@ -244,7 +246,8 @@
return false;
streams.put(streamid, size);
DEBUG_LOGGER.log(Level.DEBUG,
- "Stream %s window size is now %s", streamid, size);
+ "Stream %s window size is now %s (amount added %d)",
+ streamid, size, amount);
Map.Entry<Stream<?>,Integer> p = pending.get(streamid);
if (p != null) {
@@ -286,7 +289,8 @@
size += adjustAmount;
streams.put(streamid, size);
DEBUG_LOGGER.log(Level.DEBUG,
- "Stream %s window size is now %s", streamid, size);
+ "Stream %s window size is now %s (adjusting amount %d)",
+ streamid, size, adjustAmount);
}
}
} finally {