On Fri, 20 Nov 2020 09:27:56 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

>> Poonam Bajaj has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Added UnchedkedIOException catch blocks for sumTokensIOStat and 
>> getLongEntry methods
>
> This seems OK. Ideally, I'd like for this to be tested. If it's interrupts 
> it's going to be difficult. Missing files should be easy enough to test.
> 
> Aside: We really need to streamline file reading. We have too many of them 
> unnecessarily all over the place. 
> [JDK-8254001](https://bugs.openjdk.java.net/browse/JDK-8254001) should fix 
> that. I'll prioritize it.

> @jerboaa Thanks for the review. As for the missing files, looks like 
> mountInfoFileNotFound() and cgroupsFileNotFound() should be testing it.
> 
> This issue is being faced by a customer and they encountered failures due to 
> interrupts during reading. These changes have been verified by them.

Thanks. That's OK. Preference would be to have an automated test for this 
issue, but this seems difficult in this case.

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

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

Reply via email to