RFR: 8374200: jdk/internal/platform/cgroup/TestCgroupMetrics.java fails with common prefix metrics [v2]

Jie Fu jiefu at openjdk.org
Tue Dec 23 01:47:32 UTC 2025


On Tue, 23 Dec 2025 00:56:10 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I'm not a regex expert but it seems odd to me to perform an inexact match first, then split that line to perform an exact match. 

This is because I just want to keep the logic to be simple not to introduce a regex.

> Can't you check if it "starts with" the metric as a full word?

Yes, I think so.
Please see the updated version.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28956#discussion_r2641684363


More information about the hotspot-runtime-dev mailing list