Integrated: 8268361: Fix the infinite loop in next_line

UncleNine github.com+1964054+unclenine at openjdk.java.net
Thu Jun 10 16:44:09 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.

This pull request has now been integrated.

Changeset: 72672277
Author:    UncleNine <ganjianxuan at hotmail.com>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/72672277e4dddf8e72f1c705cd5f57de40745635
Stats:     15 lines in 1 file changed: 11 ins; 0 del; 4 mod

8268361: Fix the infinite loop in next_line

Reviewed-by: dholmes, sgehwolf, sspitsyn

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

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


More information about the serviceability-dev mailing list