RFR: 8259956: jdk.jfr.internal.ChunkInputStream#available should return the sum of remaining available bytes

Erik Gahlin egahlin at openjdk.java.net
Tue Jan 19 12:50:38 UTC 2021


On Tue, 19 Jan 2021 06:50:21 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> Could I have a review of this small fix?
> 
> In the current implementation, ChunkInputStream#available only returns the available size of the current stream, which is strange for the user.

Hi Denghui, 

Looks reasonable, but I will do a proper review of this and your other PRs once everything is set for JDK 16.

Erik

-------------

PR: https://git.openjdk.java.net/jdk/pull/2138


More information about the hotspot-jfr-dev mailing list