He-Pin opened a new pull request, #3152: URL: https://github.com/apache/pekko/pull/3152
### Motivation `PerfFlamesSupport.scala` parses the PID from `RuntimeMXBean.getName()` which returns `"pid@hostname"` — a pre-JDK 9 hack that depends on an undocumented string format. ### Modification Replace with `ProcessHandle.current().pid()` (JDK 9), the official API for retrieving the current process ID. ### Result Cleaner, more reliable PID retrieval without string parsing. ### Tests - `sbt "multi-node-testkit/compile"` — passed ### References Refs #3136 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
