diff options
| author | Christopher Tate <ctate@google.com> | 2016-10-04 16:34:48 -0700 |
|---|---|---|
| committer | Christopher Tate <ctate@google.com> | 2016-10-04 16:42:52 -0700 |
| commit | eafb535072698b0559d8919db4b18618359c11b9 (patch) | |
| tree | a2731e21cd885b95d1b755033ba653855a59eff7 /docs/html/sdk/api_diff/10/changes | |
| parent | 7d25ab7b11f95d7df1c078f2fc37ce122b61534e (diff) | |
Eliminate unnecessary object churn in job scheduler updating
The arbitrary-caller "what job is currently running?" state inspector
returns a clone of the JobStatus record for it, not a live reference
to the scheduler's active state. That's appropriate for most cases
but when doing its own internal bookkeeping, the object churn in cloning
(especially, an unneeded clone just for purposes of comparing to some
other job!) is merely a huge waste of CPU and GC load.
So now we don't do that unnecessarily, and everything is much leaner.
Bug 31751985
Change-Id: Idacb52e9e5ca17b9e12b7ccd2fc2e1ec8b3547f6
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions
