[Durable Messages] Report aggregate memory usage via UMA [chromium/src : main]

0 views
Skip to first unread message

Alex N. Jose (Gerrit)

unread,
Jan 15, 2026, 10:10:23 PMJan 15
to Andrey Kosyakov, Chromium LUCI CQ, Benoit Lize, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
Attention needed from Andrey Kosyakov and Benoit Lize

Alex N. Jose added 1 comment

File services/network/devtools_durable_msg_collector_manager.cc
Line 63, Patchset 5:void DevtoolsDurableMessageCollectorManager::ReportAggregateMemoryUsage() {
Benoit Lize . unresolved

Have you considered using the memory-infra machinery for reporting memory usage?

A benefit from that is that you get the same sampling rate (random intervals, with a constant mean) as other memory histograms, and you don't have to care about posting tasks, etc.

Alex N. Jose

No I haven't, and I couldn't find much information about it. Can you point me in the right direction?

Alex N. Jose

@li...@chromium.org, bumping this question. I can also follow up on a separate CL to refine the collection of metrics, if this is currently in a shape that's good to land as is.

Benoit Lize

It requires a few steps:

  • Inherit from MemoryDumpProvider, either in the the class you are changing, or in a new one
  • Register this instance to provide data
  • Then, in the place that collects the data, add the mapping between the metric you want to report and a UMA name

If you want a recent-ish example, you can look at this CL:

https://chromium-review.googlesource.com/c/chromium/src/+/6624543

In this case, there is already a memory dump provider in the class, so the first step had been done in the past. However, the rest applies, that is:

  • a memory dump is (roughly) like a JSON dict where things can be added
  • They are found in the browser process by looking at their "path"

One thing to note: since you want this to power UMA metrics collection, you need to add your new dump provider to the background allowlist in base/trace_event/memory_infra_background_allowlist.cc

What you get in return for all this trouble is that your metrics are sampled at a random interval with a mean of 5 minutes on Android, 30 on desktop, and at the same time as the other metrics.

Alex N. Jose

Thanks for the guidance, @li...@chromium.org, I've updated the code to use MemoryDumpProvider. PTAL!

Open in Gerrit

Related details

Attention is currently required from:
  • Andrey Kosyakov
  • Benoit Lize
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
Gerrit-Change-Number: 7205735
Gerrit-PatchSet: 25
Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
Gerrit-Reviewer: mmenke <mme...@chromium.org>
Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Benoit Lize <li...@chromium.org>
Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
Gerrit-Comment-Date: Fri, 16 Jan 2026 03:10:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Alex N. Jose <ale...@chromium.org>
Comment-In-Reply-To: Benoit Lize <li...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Benoit Lize (Gerrit)

unread,
Jan 21, 2026, 4:34:05 AMJan 21
to Alex N. Jose, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
Attention needed from Alex N. Jose and Andrey Kosyakov

Benoit Lize added 3 comments

File chrome/browser/metrics/process_memory_metrics_emitter.cc
Line 244, Patchset 25 (Latest): "NetworkService.DurableMessages.AggregateMemoryUsage", MetricSize::kLarge,
Benoit Lize . unresolved

Do you expect the sizes to be larger than 500MiB, and are OK with not having the first bucket be 0-1MiB?

File services/network/devtools_durable_msg_collector_manager_unittest.cc
File tools/metrics/histograms/metadata/memory/histograms.xml
Line 2421, Patchset 25 (Latest):<histogram name="Memory.NetworkService.DurableMessages.AggregateMemoryUsage"
Benoit Lize . unresolved

Have you checked about:histograms?

I don't think this is the histogram name that will be emitted.
Histogram names are the concatenation of several parts, and you should put it as a suffix.

See https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/histograms/metadata/memory/histograms.xml;drc=b7b5999c69cf98c47493ce2de6afb9fbaf93941a;l=607 for instance.

Open in Gerrit

Related details

Attention is currently required from:
  • Alex N. Jose
  • Andrey Kosyakov
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
Gerrit-Change-Number: 7205735
Gerrit-PatchSet: 25
Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
Gerrit-Reviewer: mmenke <mme...@chromium.org>
Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
Gerrit-Comment-Date: Wed, 21 Jan 2026 09:33:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex N. Jose (Gerrit)

unread,
Jan 21, 2026, 5:36:54 PMJan 21
to Andrey Kosyakov, Chromium LUCI CQ, Benoit Lize, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
Attention needed from Adam Rice, Andrey Kosyakov and Benoit Lize

Alex N. Jose added 5 comments

Patchset-level comments
File-level comment, Patchset 12:
Adam Rice . resolved

As with mmenke, I think tracking of memory usage & tests look fine, waiting to learn about memory-infra.

If we end up not switching to memory-infra, we should probably think a bit more about whether we're collecting too many samples and whether this sampling method introduces bias.

Alex N. Jose

Done

File-level comment, Patchset 26 (Latest):
Alex N. Jose . resolved

@li...@chromium.org I updated the CL with your feedback, PTAL. Thanks!

File chrome/browser/metrics/process_memory_metrics_emitter.cc
Line 244, Patchset 25: "NetworkService.DurableMessages.AggregateMemoryUsage", MetricSize::kLarge,
Benoit Lize . unresolved

Do you expect the sizes to be larger than 500MiB, and are OK with not having the first bucket be 0-1MiB?

Alex N. Jose

Yes, given this would account for the aggregate amount of memory collected (which are today across several renderers) across the page loads, there is no reason to look for granularity within the first MiB. Sizes may run over 500 MiB.

File services/network/devtools_durable_msg_collector_manager_unittest.cc
Line 174, Patchset 25: const auto& entries = dump->entries();
Benoit Lize . resolved
Alex N. Jose

Done

File tools/metrics/histograms/metadata/memory/histograms.xml
Line 2421, Patchset 25:<histogram name="Memory.NetworkService.DurableMessages.AggregateMemoryUsage"
Benoit Lize . unresolved

Have you checked about:histograms?

I don't think this is the histogram name that will be emitted.
Histogram names are the concatenation of several parts, and you should put it as a suffix.

See https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/histograms/metadata/memory/histograms.xml;drc=b7b5999c69cf98c47493ce2de6afb9fbaf93941a;l=607 for instance.

Alex N. Jose

It's getting emitted in about:histograms as ```

  • Histogram: Memory.Experimental.NetworkService2.NetworkService.DurableMessages.AggregateMemoryUsage recorded 2 samples, mean = 7.0 (flags = 0x41) [#]
  • 0 ...
  • 7 --O (2 = 100.0%) {0.0%}
  • 8 ...
  • ```

The name is different than what's given, the `Memory.` portion seems replaced with `Memory.Experimental.NetworkService2`.

I've moved this into the variants section, [PTAL](chrome://histograms/#Memory.Experimental.NetworkService2.DurableMessages.AggregateMemoryUsage). Would I be able to monitor this value during a Finch experiment? What is the difference between variant vs. a histogram like `Memory.NetworkService.PrivateMemoryFootprint` (which is what I was going after earlier).

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Rice
  • Andrey Kosyakov
  • Benoit Lize
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
Gerrit-Change-Number: 7205735
Gerrit-PatchSet: 26
Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
Gerrit-Reviewer: mmenke <mme...@chromium.org>
Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Benoit Lize <li...@chromium.org>
Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
Gerrit-Attention: Adam Rice <ri...@chromium.org>
Gerrit-Comment-Date: Wed, 21 Jan 2026 22:36:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Benoit Lize <li...@chromium.org>
Comment-In-Reply-To: Adam Rice <ri...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Benoit Lize (Gerrit)

unread,
Jan 26, 2026, 8:00:06 AM (12 days ago) Jan 26
to Alex N. Jose, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
Attention needed from Adam Rice, Alex N. Jose and Andrey Kosyakov

Benoit Lize voted and added 3 comments

Votes added by Benoit Lize

Code-Review+1

3 comments

Patchset-level comments
File-level comment, Patchset 26 (Latest):
Benoit Lize . resolved

THanks! lgtm

File chrome/browser/metrics/process_memory_metrics_emitter.cc
Line 244, Patchset 25: "NetworkService.DurableMessages.AggregateMemoryUsage", MetricSize::kLarge,
Benoit Lize . resolved

Do you expect the sizes to be larger than 500MiB, and are OK with not having the first bucket be 0-1MiB?

Alex N. Jose

Yes, given this would account for the aggregate amount of memory collected (which are today across several renderers) across the page loads, there is no reason to look for granularity within the first MiB. Sizes may run over 500 MiB.

Benoit Lize

Acknowledged

File tools/metrics/histograms/metadata/memory/histograms.xml
Line 2421, Patchset 25:<histogram name="Memory.NetworkService.DurableMessages.AggregateMemoryUsage"
Benoit Lize . resolved

Have you checked about:histograms?

I don't think this is the histogram name that will be emitted.
Histogram names are the concatenation of several parts, and you should put it as a suffix.

See https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/histograms/metadata/memory/histograms.xml;drc=b7b5999c69cf98c47493ce2de6afb9fbaf93941a;l=607 for instance.

Alex N. Jose

It's getting emitted in about:histograms as ```

  • Histogram: Memory.Experimental.NetworkService2.NetworkService.DurableMessages.AggregateMemoryUsage recorded 2 samples, mean = 7.0 (flags = 0x41) [#]
  • 0 ...
  • 7 --O (2 = 100.0%) {0.0%}
  • 8 ...
  • ```

The name is different than what's given, the `Memory.` portion seems replaced with `Memory.Experimental.NetworkService2`.

I've moved this into the variants section, [PTAL](chrome://histograms/#Memory.Experimental.NetworkService2.DurableMessages.AggregateMemoryUsage). Would I be able to monitor this value during a Finch experiment? What is the difference between variant vs. a histogram like `Memory.NetworkService.PrivateMemoryFootprint` (which is what I was going after earlier).

Benoit Lize

The PrivateMemoryFootprint histogram is recorded using a slightly different path. The new way is the correct one, and yes, this is a regular histogram, that you can monitor.

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Rice
  • Alex N. Jose
  • Andrey Kosyakov
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
      Gerrit-Change-Number: 7205735
      Gerrit-PatchSet: 26
      Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
      Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
      Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
      Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
      Gerrit-Reviewer: mmenke <mme...@chromium.org>
      Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
      Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-Attention: Adam Rice <ri...@chromium.org>
      Gerrit-Comment-Date: Mon, 26 Jan 2026 12:59:50 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alex N. Jose (Gerrit)

      unread,
      Jan 26, 2026, 12:08:31 PM (12 days ago) Jan 26
      to Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
      Attention needed from Adam Rice and Andrey Kosyakov

      Alex N. Jose voted and added 1 comment

      Votes added by Alex N. Jose

      Auto-Submit+1

      1 comment

      Patchset-level comments
      Alex N. Jose . resolved

      @mme...@google.com, @ri...@chromium.org, let me know if this is good to land!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Rice
      • Andrey Kosyakov
      Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-Attention: Adam Rice <ri...@chromium.org>
      Gerrit-Comment-Date: Mon, 26 Jan 2026 17:08:16 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alex N. Jose (Gerrit)

      unread,
      Jan 26, 2026, 12:09:10 PM (12 days ago) Jan 26
      to Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
      Attention needed from Adam Rice and Andrey Kosyakov

      Alex N. Jose added 1 comment

      File services/network/devtools_durable_msg_collector_manager.cc
      Line 63, Patchset 5:void DevtoolsDurableMessageCollectorManager::ReportAggregateMemoryUsage() {
      Benoit Lize . resolved

      Have you considered using the memory-infra machinery for reporting memory usage?

      A benefit from that is that you get the same sampling rate (random intervals, with a constant mean) as other memory histograms, and you don't have to care about posting tasks, etc.

      Alex N. Jose

      No I haven't, and I couldn't find much information about it. Can you point me in the right direction?

      Alex N. Jose

      @li...@chromium.org, bumping this question. I can also follow up on a separate CL to refine the collection of metrics, if this is currently in a shape that's good to land as is.

      Benoit Lize

      It requires a few steps:

      • Inherit from MemoryDumpProvider, either in the the class you are changing, or in a new one
      • Register this instance to provide data
      • Then, in the place that collects the data, add the mapping between the metric you want to report and a UMA name

      If you want a recent-ish example, you can look at this CL:

      https://chromium-review.googlesource.com/c/chromium/src/+/6624543

      In this case, there is already a memory dump provider in the class, so the first step had been done in the past. However, the rest applies, that is:

      • a memory dump is (roughly) like a JSON dict where things can be added
      • They are found in the browser process by looking at their "path"

      One thing to note: since you want this to power UMA metrics collection, you need to add your new dump provider to the background allowlist in base/trace_event/memory_infra_background_allowlist.cc

      What you get in return for all this trouble is that your metrics are sampled at a random interval with a mean of 5 minutes on Android, 30 on desktop, and at the same time as the other metrics.

      Alex N. Jose

      Thanks for the guidance, @li...@chromium.org, I've updated the code to use MemoryDumpProvider. PTAL!

      Alex N. Jose

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Rice
      • Andrey Kosyakov
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
        Gerrit-Change-Number: 7205735
        Gerrit-PatchSet: 26
        Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
        Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
        Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
        Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
        Gerrit-Reviewer: mmenke <mme...@chromium.org>
        Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-Attention: Adam Rice <ri...@chromium.org>
        Gerrit-Comment-Date: Mon, 26 Jan 2026 17:08:54 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        mmenke (Gerrit)

        unread,
        Jan 26, 2026, 2:19:34 PM (12 days ago) Jan 26
        to Alex N. Jose, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
        Attention needed from Adam Rice, Alex N. Jose and Andrey Kosyakov

        mmenke added 4 comments

        Patchset-level comments
        mmenke . resolved

        Some nits, but otherwise looks fine. Sorry for the day, it wasn't in my attention set. I think I removed it from my attention set when you were talking about the memory infra, since I couldn't really take action until that was addressed.

        File services/network/devtools_durable_msg_collector_unittest.cc
        Line 21, Patchset 26 (Latest): void TearDown() override { RunUntilCollectorsEmpty(); }
        mmenke . unresolved

        Either add `public:` before this or move it down to the protected section.

        Line 23, Patchset 26 (Latest): protected:
        base::test::TaskEnvironment task_environment_;
        mmenke . unresolved

        Put this down in the private section, before everything else.

        If you need to make this protected rather than private, either just remove the protected section, and put all members down at the bottom together, or add accessors.

        Line 129, Patchset 26 (Latest):
        DevtoolsDurableMessageCollectorManager manager_;
        mmenke . unresolved

        As above, either make this private and add an accessor (`DevtoolsDurableMessageCollectorManager& manager()`) or make all values protected, removing the private section, and put them at the bottom.

        This is the general way we tend to do things in net/ and services/network - everything private, or everything protected. Since declaration order affects initialization order, and we don't want multiple protected/private sections, best to keep all members in the same section.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Adam Rice
        • Alex N. Jose
        • Andrey Kosyakov
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
          Gerrit-Change-Number: 7205735
          Gerrit-PatchSet: 26
          Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
          Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
          Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
          Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
          Gerrit-Reviewer: mmenke <mme...@chromium.org>
          Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
          Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
          Gerrit-Attention: Adam Rice <ri...@chromium.org>
          Gerrit-Comment-Date: Mon, 26 Jan 2026 19:19:27 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          mmenke (Gerrit)

          unread,
          Jan 26, 2026, 2:20:48 PM (12 days ago) Jan 26
          to Alex N. Jose, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
          Attention needed from Adam Rice, Alex N. Jose and Andrey Kosyakov

          mmenke added 1 comment

          File services/network/devtools_durable_msg_collector_unittest.cc
          Line 161, Patchset 26 (Latest): WaitForEventCount(2);
          collector_remote.reset();
          mmenke . unresolved

          Also, these aren't needed, are they? it will be reset when it leaves scope, anyways. Or is it important that it be destroyed before msg1/msg2 for some reason?

          Gerrit-Comment-Date: Mon, 26 Jan 2026 19:20:39 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Alex N. Jose (Gerrit)

          unread,
          Jan 26, 2026, 6:17:29 PM (12 days ago) Jan 26
          to Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
          Attention needed from Adam Rice, Andrey Kosyakov and mmenke

          Alex N. Jose voted and added 4 comments

          Votes added by Alex N. Jose

          Auto-Submit+1

          4 comments

          File services/network/devtools_durable_msg_collector_unittest.cc
          Line 21, Patchset 26: void TearDown() override { RunUntilCollectorsEmpty(); }
          mmenke . resolved

          Either add `public:` before this or move it down to the protected section.

          Alex N. Jose

          Done

          Line 23, Patchset 26: protected:
          base::test::TaskEnvironment task_environment_;
          mmenke . resolved

          Put this down in the private section, before everything else.

          If you need to make this protected rather than private, either just remove the protected section, and put all members down at the bottom together, or add accessors.

          Alex N. Jose

          Done

          Line 129, Patchset 26:
          DevtoolsDurableMessageCollectorManager manager_;
          mmenke . resolved

          As above, either make this private and add an accessor (`DevtoolsDurableMessageCollectorManager& manager()`) or make all values protected, removing the private section, and put them at the bottom.

          This is the general way we tend to do things in net/ and services/network - everything private, or everything protected. Since declaration order affects initialization order, and we don't want multiple protected/private sections, best to keep all members in the same section.

          Alex N. Jose

          Ack, updated code to reflect it.

          Line 161, Patchset 26: WaitForEventCount(2);
          collector_remote.reset();
          mmenke . resolved

          Also, these aren't needed, are they? it will be reset when it leaves scope, anyways. Or is it important that it be destroyed before msg1/msg2 for some reason?

          Alex N. Jose

          It's not needed; removed it.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Adam Rice
          • Andrey Kosyakov
          • mmenke
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: mmenke <mme...@chromium.org>
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Attention: Adam Rice <ri...@chromium.org>
            Gerrit-Comment-Date: Mon, 26 Jan 2026 23:17:18 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: mmenke <mme...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            mmenke (Gerrit)

            unread,
            Jan 26, 2026, 6:20:41 PM (12 days ago) Jan 26
            to Alex N. Jose, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Adam Rice, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Adam Rice, Alex N. Jose and Andrey Kosyakov

            mmenke voted and added 1 comment

            Votes added by mmenke

            Code-Review+1

            1 comment

            Patchset-level comments
            File-level comment, Patchset 27 (Latest):
            mmenke . resolved

            LGTM. Note that you don't have full owners coverage, so I'm not submitting (also, Adam's still a reviewer)

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Adam Rice
            • Alex N. Jose
            • Andrey Kosyakov
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Attention: Adam Rice <ri...@chromium.org>
            Gerrit-Comment-Date: Mon, 26 Jan 2026 23:20:32 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Alex N. Jose (Gerrit)

            unread,
            Jan 26, 2026, 6:22:40 PM (12 days ago) Jan 26
            to Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Andrey Kosyakov

            Alex N. Jose added 1 comment

            Patchset-level comments
            Alex N. Jose . resolved

            @dch...@chromium.org, could I get your review of base/trace_event/* and chrome/browser/metrics/* changes? Thanks!

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andrey Kosyakov
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Comment-Date: Mon, 26 Jan 2026 23:22:30 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Alex N. Jose (Gerrit)

            unread,
            Jan 26, 2026, 6:24:28 PM (12 days ago) Jan 26
            to Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, Chromium Metrics Reviews, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Andrey Kosyakov

            Alex N. Jose voted and added 1 comment

            Votes added by Alex N. Jose

            Auto-Submit+0

            1 comment

            Patchset-level comments
            mmenke . resolved

            LGTM. Note that you don't have full owners coverage, so I'm not submitting (also, Adam's still a reviewer)

            Alex N. Jose

            Thanks! Not sure what happened there, perhaps ownership changed over the lifetime of this CL. Updated reviewers list.

            Gerrit-Comment-Date: Mon, 26 Jan 2026 23:24:16 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: mmenke <mme...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            gwsq (Gerrit)

            unread,
            Jan 27, 2026, 12:01:35 PM (11 days ago) Jan 27
            to Alex N. Jose, Chromium Metrics Reviews, Roger McFarlane, Daniel Cheng, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Andrey Kosyakov, Daniel Cheng and Roger McFarlane

            Message from gwsq

            From analysis/uma/chrome-metrics.gwsq:
            Histograms should by default be reviewed by the owners of the subdirectories. The chromium-met...@google.com gwsq should be used when there are no individual owners, or for escalation to the Metrics team.
            If you are interested in becoming a metrics reviewer, please review the instructions at https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Becoming-a-Metrics-Reviewer

            Reviewer source(s):
            rog...@chromium.org is from context(analysis/uma/chrome-metrics.gwsq)

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andrey Kosyakov
            • Daniel Cheng
            • Roger McFarlane
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
            Gerrit-Reviewer: Roger McFarlane <rog...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-CC: gwsq
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Attention: Roger McFarlane <rog...@chromium.org>
            Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
            Gerrit-Comment-Date: Tue, 27 Jan 2026 17:00:54 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Daniel Cheng (Gerrit)

            unread,
            Jan 27, 2026, 1:18:02 PM (11 days ago) Jan 27
            to Alex N. Jose, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Roger McFarlane, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Andrey Kosyakov, Etienne Pierre-Doray and Roger McFarlane

            Daniel Cheng added 1 comment

            Patchset-level comments
            Daniel Cheng . resolved

            @etie...@chromium.org, do you mind reviewing the //base changes?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andrey Kosyakov
            • Etienne Pierre-Doray
            • Roger McFarlane
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
            Gerrit-Reviewer: Roger McFarlane <rog...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-CC: Daniel Cheng <dch...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Attention: Roger McFarlane <rog...@chromium.org>
            Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
            Gerrit-Comment-Date: Tue, 27 Jan 2026 18:17:52 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Etienne Pierre-Doray (Gerrit)

            unread,
            Jan 27, 2026, 1:22:19 PM (11 days ago) Jan 27
            to Alex N. Jose, Daniel Cheng, Chromium Metrics Reviews, Roger McFarlane, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Alex N. Jose, Andrey Kosyakov and Roger McFarlane

            Etienne Pierre-Doray voted and added 1 comment

            Votes added by Etienne Pierre-Doray

            Code-Review+1

            1 comment

            Patchset-level comments
            Etienne Pierre-Doray . resolved

            base/trace_event LGTM

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Alex N. Jose
            • Andrey Kosyakov
            • Roger McFarlane
            Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Attention: Roger McFarlane <rog...@chromium.org>
            Gerrit-Comment-Date: Tue, 27 Jan 2026 18:22:10 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Roger McFarlane (Gerrit)

            unread,
            Jan 28, 2026, 1:38:15 PM (10 days ago) Jan 28
            to Alex N. Jose, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Alex N. Jose and Andrey Kosyakov

            Roger McFarlane voted and added 1 comment

            Votes added by Roger McFarlane

            Code-Review+1

            1 comment

            File services/network/devtools_durable_msg_collector_manager.cc
            Line 65, Patchset 27 (Latest): total_memory_usage_ += size;
            Roger McFarlane . unresolved

            is it worth asserting that all of these methods run on the same sequence?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Alex N. Jose
            • Andrey Kosyakov
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
            Gerrit-Change-Number: 7205735
            Gerrit-PatchSet: 27
            Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
            Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
            Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
            Gerrit-Reviewer: Roger McFarlane <rog...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-CC: Daniel Cheng <dch...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
            Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
            Gerrit-Comment-Date: Wed, 28 Jan 2026 18:38:05 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            mmenke (Gerrit)

            unread,
            Jan 28, 2026, 1:40:42 PM (10 days ago) Jan 28
            to Alex N. Jose, Roger McFarlane, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Alex N. Jose and Andrey Kosyakov

            mmenke added 1 comment

            File services/network/devtools_durable_msg_collector_manager.cc
            Line 65, Patchset 27 (Latest): total_memory_usage_ += size;
            Roger McFarlane . unresolved

            is it worth asserting that all of these methods run on the same sequence?

            mmenke

            The network service is basically single threaded. I'm fine with adding them, but I don't think there's much value there.

            Gerrit-Comment-Date: Wed, 28 Jan 2026 18:40:32 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Roger McFarlane <rog...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Roger McFarlane (Gerrit)

            unread,
            Jan 28, 2026, 1:50:35 PM (10 days ago) Jan 28
            to Alex N. Jose, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Alex N. Jose and Andrey Kosyakov

            Roger McFarlane added 1 comment

            File services/network/devtools_durable_msg_collector_manager.cc
            Line 65, Patchset 27 (Latest): total_memory_usage_ += size;
            Roger McFarlane . unresolved

            is it worth asserting that all of these methods run on the same sequence?

            Roger McFarlane

            I'm referring to adding a sequence checker and validating that these methods are not called concurrently.

            https://source.chromium.org/chromium/chromium/src/+/main:base/sequence_checker.h

            Gerrit-Comment-Date: Wed, 28 Jan 2026 18:50:23 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Roger McFarlane (Gerrit)

            unread,
            Jan 28, 2026, 1:55:28 PM (10 days ago) Jan 28
            to Alex N. Jose, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
            Attention needed from Alex N. Jose and Andrey Kosyakov

            Roger McFarlane added 1 comment

            File services/network/devtools_durable_msg_collector_manager.cc
            Line 65, Patchset 27 (Latest): total_memory_usage_ += size;
            Roger McFarlane . resolved

            is it worth asserting that all of these methods run on the same sequence?

            Roger McFarlane

            I'm referring to adding a sequence checker and validating that these methods are not called concurrently.

            https://source.chromium.org/chromium/chromium/src/+/main:base/sequence_checker.h

            Roger McFarlane

            Ack

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Alex N. Jose
            • Andrey Kosyakov
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
              Gerrit-Change-Number: 7205735
              Gerrit-PatchSet: 27
              Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
              Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
              Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
              Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Roger McFarlane <rog...@chromium.org>
              Gerrit-Reviewer: mmenke <mme...@chromium.org>
              Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
              Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-CC: Daniel Cheng <dch...@chromium.org>
              Gerrit-CC: gwsq
              Gerrit-Attention: Alex N. Jose <ale...@chromium.org>
              Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
              Gerrit-Comment-Date: Wed, 28 Jan 2026 18:55:16 +0000
              satisfied_requirement
              open
              diffy

              Roger McFarlane (Gerrit)

              unread,
              Jan 28, 2026, 1:56:41 PM (10 days ago) Jan 28
              to Alex N. Jose, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
              Attention needed from Alex N. Jose and Andrey Kosyakov

              Roger McFarlane added 1 comment

              File services/network/devtools_durable_msg_collector_manager.cc
              Line 65, Patchset 27 (Latest): total_memory_usage_ += size;
              Roger McFarlane . resolved

              is it worth asserting that all of these methods run on the same sequence?

              Roger McFarlane

              I'm referring to adding a sequence checker and validating that these methods are not called concurrently.

              https://source.chromium.org/chromium/chromium/src/+/main:base/sequence_checker.h

              Roger McFarlane

              Ack

              Roger McFarlane

              Comment in the middle was for alexnj@ who messaged me to ask for clarification.

              Gerrit-Comment-Date: Wed, 28 Jan 2026 18:56:31 +0000
              satisfied_requirement
              open
              diffy

              Alex N. Jose (Gerrit)

              unread,
              Jan 28, 2026, 2:10:46 PM (10 days ago) Jan 28
              to Roger McFarlane, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Chromium LUCI CQ, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org
              Attention needed from Andrey Kosyakov

              Alex N. Jose voted Commit-Queue+2

              Commit-Queue+2
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Andrey Kosyakov
              Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
              Gerrit-Comment-Date: Wed, 28 Jan 2026 19:10:32 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Chromium LUCI CQ (Gerrit)

              unread,
              Jan 28, 2026, 3:46:23 PM (10 days ago) Jan 28
              to Alex N. Jose, Roger McFarlane, Etienne Pierre-Doray, Daniel Cheng, Chromium Metrics Reviews, Benoit Lize, Andrey Kosyakov, Code Review Nudger, AyeAye, chromiumme...@microsoft.com, asvitki...@chromium.org, wfh+...@chromium.org, tracing...@chromium.org, spang...@chromium.org, network-ser...@chromium.org, asvitkine...@chromium.org, devtools...@chromium.org

              Chromium LUCI CQ submitted the change

              Change information

              Commit message:
              [Durable Messages] Report aggregate memory usage via UMA

              To account for the memory used by DevTools Durable Messages within
              Network Service, this CL implements a UMA that reports the global
              memory usage by all collected messages.

              Note that this doesn't limit the total memory used, to retain
              current DevTools capability as is.
              Bug: 463747819
              Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
              Commit-Queue: Alex N. Jose <ale...@chromium.org>
              Reviewed-by: Benoit Lize <li...@chromium.org>
              Reviewed-by: Roger McFarlane <rog...@chromium.org>
              Reviewed-by: mmenke <mme...@chromium.org>
              Reviewed-by: Etienne Pierre-Doray <etie...@chromium.org>
              Cr-Commit-Position: refs/heads/main@{#1576141}
              Files:
              • M base/trace_event/memory_infra_background_allowlist.cc
              • M chrome/browser/metrics/process_memory_metrics_emitter.cc
              • M services/network/devtools_durable_msg_collector.cc
              • M services/network/devtools_durable_msg_collector_manager.cc
              • M services/network/devtools_durable_msg_collector_manager.h
              • M services/network/devtools_durable_msg_collector_manager_unittest.cc
              • M services/network/devtools_durable_msg_collector_unittest.cc
              • M tools/metrics/histograms/metadata/memory/histograms.xml
              Change size: M
              Delta: 8 files changed, 153 insertions(+), 21 deletions(-)
              Branch: refs/heads/main
              Submit Requirements:
              • requirement satisfiedCode-Review: +1 by mmenke, +1 by Etienne Pierre-Doray, +1 by Benoit Lize, +1 by Roger McFarlane
              Open in Gerrit
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: merged
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I5913b0e74c5b6d46a1f29c88aff96d484e9bda99
              Gerrit-Change-Number: 7205735
              Gerrit-PatchSet: 28
              Gerrit-Owner: Alex N. Jose <ale...@chromium.org>
              Gerrit-Reviewer: Alex N. Jose <ale...@chromium.org>
              Gerrit-Reviewer: Benoit Lize <li...@chromium.org>
              Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
              Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Roger McFarlane <rog...@chromium.org>
              Gerrit-Reviewer: mmenke <mme...@chromium.org>
              Gerrit-CC: Andrey Kosyakov <ca...@chromium.org>
              open
              diffy
              satisfied_requirement
              Reply all
              Reply to author
              Forward
              0 new messages