RFR: 8268361: Fix the infinite loop in next_line

Severin Gehwolf sgehwolf at openjdk.java.net
Tue Jun 8 08:42:15 UTC 2021


On Sun, 6 Jun 2021 14:47:31 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.

In what way have you observed /proc/stat being changed which manifests in 100% cpu usage?

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

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


More information about the serviceability-dev mailing list