Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v5]

2021-02-24 Thread Severin Gehwolf
On Wed, 24 Feb 2021 17:37:13 GMT, Severin Gehwolf wrote: >> Marked as reviewed by andrew (Reviewer). > > @gnu-andrew Thanks for the review! I'll retest and then integrate. Tests look good on my end. Also this check passed all Linux tests (it's a no-op everywhere else): https://github.com/jerboa

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v5]

2021-02-24 Thread Severin Gehwolf
On Wed, 24 Feb 2021 16:24:32 GMT, Andrew John Hughes wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Add comment to parsing logic of /proc/self/cgroup > > Marked as reviewed by andrew (Reviewer). @gnu-andrew Th

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v6]

2021-02-24 Thread Severin Gehwolf
> This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `determineType()` as > before, but now reads all relevant in

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v5]

2021-02-24 Thread Andrew John Hughes
On Fri, 12 Feb 2021 12:49:01 GMT, Severin Gehwolf wrote: >> This is an enhancement which solves two issues: >> >> 1. Multiple reads of relevant cgroup interface files. Now interface files >> are only read once per file (just like Hotspot). >> 2. Proxies creation of the impl specific subsystem v

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v4]

2021-02-24 Thread Andrew John Hughes
On Fri, 12 Feb 2021 12:49:19 GMT, Severin Gehwolf wrote: >> Setting reviewers to 2 since I want @gnu-andrew to be OK with it too. > > Hi Harold, > >> Thanks for doing this! Sorry for taking so long to review this change. The >> change looks good. > > Thanks for the review! > >> Before pushing

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v4]

2021-02-12 Thread Severin Gehwolf
On Fri, 12 Feb 2021 10:19:03 GMT, Severin Gehwolf wrote: >> Hi Severin, >> Thanks for doing this! Sorry for taking so long to review this change. The >> change looks good. Before pushing it, could you add a comment explaining >> what the code in lines 185-194 of CgroupSubsystemFactory.java i

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v5]

2021-02-12 Thread Severin Gehwolf
> This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `determineType()` as > before, but now reads all relevant in

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v4]

2021-02-12 Thread Severin Gehwolf
On Thu, 11 Feb 2021 19:51:43 GMT, Harold Seigel wrote: >> Severin Gehwolf has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains seven additional >> co

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v4]

2021-02-11 Thread Harold Seigel
On Tue, 9 Feb 2021 13:31:25 GMT, Severin Gehwolf wrote: >> This is an enhancement which solves two issues: >> >> 1. Multiple reads of relevant cgroup interface files. Now interface files >> are only read once per file (just like Hotspot). >> 2. Proxies creation of the impl specific subsystem vi

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-02-10 Thread Severin Gehwolf
On Mon, 1 Feb 2021 20:26:54 GMT, Andrew John Hughes wrote: >> Anybody willing to review this? > >> Anybody willing to review this? > > I can have a go. > > I have two main concerns: > > 1. There seems to be little documentation on the new additions. I'm > particularly concerned about things l

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-02-09 Thread Severin Gehwolf
On Mon, 1 Feb 2021 20:26:54 GMT, Andrew John Hughes wrote: > > Anybody willing to review this? > > I can have a go. > > I have two main concerns: > > 1. There seems to be little documentation on the new additions. I'm > particularly concerned about things like CgroupV1Subsystem.java where

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v4]

2021-02-09 Thread Severin Gehwolf
> This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `determineType()` as > before, but now reads all relevant in

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-02-01 Thread Andrew John Hughes
On Tue, 12 Jan 2021 14:29:28 GMT, Severin Gehwolf wrote: > Anybody willing to review this? I can have a go. I have two main concerns: 1. There seems to be little documentation on the new additions. I'm particularly concerned about things like CgroupV1Subsystem.java where a big chunk of docum

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-01-28 Thread Severin Gehwolf
On Tue, 12 Jan 2021 14:29:28 GMT, Severin Gehwolf wrote: >> Ping? Anyone? > > Anybody willing to review this? PING? - PR: https://git.openjdk.java.net/jdk/pull/1393

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v3]

2021-01-13 Thread Severin Gehwolf
> This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `determineType()` as > before, but now reads all relevant in

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-01-13 Thread Severin Gehwolf
Hi David, On Wed, 2021-01-13 at 11:33 +1000, David Holmes wrote: Hi Severin, On 13/01/2021 12:31 am, Severin Gehwolf wrote: > On Tue, 15 Dec 2020 12:57:12 GMT, Severin Gehwolf > wrote: > > > > @bobvandette Please review when you've got some cycles to spare. > > > Much appreciated! > > > > Ping

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-01-12 Thread David Holmes
Hi Severin, On 13/01/2021 12:31 am, Severin Gehwolf wrote: On Tue, 15 Dec 2020 12:57:12 GMT, Severin Gehwolf wrote: @bobvandette Please review when you've got some cycles to spare. Much appreciated! Ping? Anyone? Anybody willing to review this? FYI Bob retired at the end of last year.

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2021-01-12 Thread Severin Gehwolf
On Tue, 15 Dec 2020 12:57:12 GMT, Severin Gehwolf wrote: >> @bobvandette Please review when you've got some cycles to spare. Much >> appreciated! > > Ping? Anyone? Anybody willing to review this? - PR: https://git.openjdk.java.net/jdk/pull/1393

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-12-15 Thread Severin Gehwolf
On Mon, 23 Nov 2020 19:58:20 GMT, Severin Gehwolf wrote: >>> With respect to JDK-8255908, the changes look good to me. >> >> Thanks! > > @bobvandette Please review when you've got some cycles to spare. Much > appreciated! Ping? Anyone? - PR: https://git.openjdk.java.net/jdk/pull/

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection [v2]

2020-12-14 Thread Severin Gehwolf
> This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `determineType()` as > before, but now reads all relevant in

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Severin Gehwolf
On Mon, 23 Nov 2020 19:39:18 GMT, Poonam Bajaj wrote: > With respect to JDK-8255908, the changes look good to me. Thanks! - PR: https://git.openjdk.java.net/jdk/pull/1393

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Severin Gehwolf
On Mon, 23 Nov 2020 19:56:56 GMT, Severin Gehwolf wrote: >> With respect to JDK-8255908, the changes look good to me. > >> With respect to JDK-8255908, the changes look good to me. > > Thanks! @bobvandette Please review when you've got some cycles to spare. Much appreciated! - PR

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Poonam Bajaj
On Mon, 23 Nov 2020 15:50:18 GMT, Severin Gehwolf wrote: >> This is an enhancement which solves two issues: >> >> 1. Multiple reads of relevant cgroup interface files. Now interface files >> are only read once per file (just like Hotspot). >> 2. Proxies creation of the impl specific subsystem v

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Severin Gehwolf
On Mon, 23 Nov 2020 15:46:56 GMT, Severin Gehwolf wrote: > This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `d

Re: RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Severin Gehwolf
On Mon, 23 Nov 2020 15:46:56 GMT, Severin Gehwolf wrote: > This is an enhancement which solves two issues: > > 1. Multiple reads of relevant cgroup interface files. Now interface files are > only read once per file (just like Hotspot). > 2. Proxies creation of the impl specific subsystem via `d

RFR: 8254001: [Metrics] Enhance parsing of cgroup interface files for version detection

2020-11-23 Thread Severin Gehwolf
This is an enhancement which solves two issues: 1. Multiple reads of relevant cgroup interface files. Now interface files are only read once per file (just like Hotspot). 2. Proxies creation of the impl specific subsystem via `determineType()` as before, but now reads all relevant interface file