RFR: 8268361: Fix the infinite loop in next_line [v2]
    UncleNine 
    github.com+1964054+unclenine at openjdk.java.net
       
    Tue Jun  8 15:44:34 UTC 2021
    
    
  
> If the /proc/stat mount point is changed in container environment, the while loop may lead to 100% cpu usage.
UncleNine has updated the pull request incrementally with one additional commit since the last revision:
  8268361: Fix the infinite loop in next_line
-------------
Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4378/files
  - new: https://git.openjdk.java.net/jdk/pull/4378/files/ba53f913..c055e977
Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4378&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4378&range=00-01
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4378.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4378/head:pull/4378
PR: https://git.openjdk.java.net/jdk/pull/4378
    
    
More information about the serviceability-dev
mailing list