RFR: 8268361: Fix the infinite loop in next_line [v4]

Severin Gehwolf sgehwolf at openjdk.java.net
Wed Jun 9 17:38:15 UTC 2021


On Wed, 9 Jun 2021 14:45:35 GMT, UncleNine <github.com+1964054+UncleNine at openjdk.org> wrote:

>> If the /proc/stat mount point is changed in container environment, the while loop may lead to 100% cpu usage.
>
> UncleNine has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.

Looks fine to me. Please fix the jcheck (whitespace) issue.

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

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


More information about the serviceability-dev mailing list