Warning: gwsq did not assign any reviewers.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Code-Review | +1 |
return false;
can you do `CHECK(pid == null || pid = current)` ?
When you actually fix the caller to use this for child process, you can remove this check? for now this might help ensure that we do not accidentally break some flow that calls for child process.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
return false;
can you do `CHECK(pid == null || pid = current)` ?
When you actually fix the caller to use this for child process, you can remove this check? for now this might help ensure that we do not accidentally break some flow that calls for child process.
I think the ResourceCoordinator will actually fail for this...
Actually calls this method but it was actually getting metrics from the parent process. Adding joenotcharles@ to comment.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
return false;
Dave Tapuskacan you do `CHECK(pid == null || pid = current)` ?
When you actually fix the caller to use this for child process, you can remove this check? for now this might help ensure that we do not accidentally break some flow that calls for child process.
I think the ResourceCoordinator will actually fail for this...
Actually calls this method but it was actually getting metrics from the parent process. Adding joenotcharles@ to comment.
hm i guess the existing code was broken then. it always used to fetch mach_task_self(). This cl does not make this worse. So, fine with this change. but Joe can comment.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Commit-Queue | +2 |
return false;
Dave Tapuskacan you do `CHECK(pid == null || pid = current)` ?
When you actually fix the caller to use this for child process, you can remove this check? for now this might help ensure that we do not accidentally break some flow that calls for child process.
Siddhartha SI think the ResourceCoordinator will actually fail for this...
Actually calls this method but it was actually getting metrics from the parent process. Adding joenotcharles@ to comment.
hm i guess the existing code was broken then. it always used to fetch mach_task_self(). This cl does not make this worse. So, fine with this change. but Joe can comment.
Chatted with Joe. I've created a bug (https://issues.chromium.org/u/1/issues/353039532) so they can track this.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
[ResourceCoordinator] Improve os metrics gathering
Support passing a non-null pid in for Windows. Linux already
supported this.
Add a new API for querying metrics on Apple platforms passing
in a mach_port_t which allows the browser process to query
the metrics of a child process.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |