On Tue, 17 May 2022 06:18:25 GMT, Ioi Lam <ik...@openjdk.org> wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Use stringStream to simplify controller path assembly > > src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp line 92: > >> 90: } >> 91: ss.print_raw(_root, last_matching_slash_pos); >> 92: _path = os::strdup(ss.base()); > > Do you mean `Find the longest common prefix`? Maybe give an example in the > comments? Text parsing in C code is really difficult to understand.
@iklam yes I meant `Find the longest common prefix`. Fixed the comment. ------------- PR: https://git.openjdk.java.net/jdk/pull/8629