Treehugger Robot
f99595ba0d
Merge "Helper function to register go module types in tests"
2023-06-21 20:07:28 +00:00
Lukacs T. Berki
3500dc0e9e
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
am: b554384964
am: c3d04341f8
am: 82e8ae635e
am: 6c3ac827e5
am: 9e65d90dde
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: I544351e6a41ab868c3866ecd9b3f130bb6593845
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 15:16:49 +00:00
Lukacs T. Berki
9e65d90dde
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
am: b554384964
am: c3d04341f8
am: 82e8ae635e
am: 6c3ac827e5
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: I13fa1b2141954c3b19487efe6ba0160155d70b02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 14:31:20 +00:00
Lukacs T. Berki
6c3ac827e5
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
am: b554384964
am: c3d04341f8
am: 82e8ae635e
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: I7cdf7e068b9143785cc8270c1d19ca5be61767c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 13:54:21 +00:00
Lukacs T. Berki
82e8ae635e
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
am: b554384964
am: c3d04341f8
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: I8d93194a0ce9e62b3e351433fb2fd22b78de668f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 13:11:23 +00:00
Lukacs T. Berki
c3d04341f8
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
am: b554384964
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: I668b63b72983b1de7b610345df07215cfc47b731
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 12:25:14 +00:00
Lukacs T. Berki
b554384964
Make RunBlueprint() return an error, if need be. am: 2cd5fe6206
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628106
Change-Id: Iaf197a77d9bd6b7cec3a9c597e4e3f275436b643
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 11:48:17 +00:00
Lukacs T. Berki
2cd5fe6206
Make RunBlueprint() return an error, if need be.
...
This is so that it doesn't need to abruptly call os.Exit(), denying
callers the opportunity to do cleanups.
Bug: 244730498
Test: Presubmits.
Change-Id: Ifd191d3bbbf2fdea2ca49e4fb552e5d1c557b80f
2023-06-20 09:44:50 +00:00
Colin Cross
d25be661e6
Optimize memory usage of ninjaString am: 6126fe8067
am: bf2fad52f5
am: 4f7e7ecdf8
am: ad37cb38f2
am: 0e8d94d4e5
am: 9321533499
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: I6e2a783600f34d701d486d568b5c7fbbd87c1446
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 20:17:28 +00:00
Colin Cross
9321533499
Optimize memory usage of ninjaString am: 6126fe8067
am: bf2fad52f5
am: 4f7e7ecdf8
am: ad37cb38f2
am: 0e8d94d4e5
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: Ic62d9d22f68ee6e79b3d238046acc37d39a74a62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 19:31:46 +00:00
Colin Cross
0e8d94d4e5
Optimize memory usage of ninjaString am: 6126fe8067
am: bf2fad52f5
am: 4f7e7ecdf8
am: ad37cb38f2
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: I719d6e162f9cdffa3d2343c10e4dcf5ad0c293dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 18:47:42 +00:00
Colin Cross
ad37cb38f2
Optimize memory usage of ninjaString am: 6126fe8067
am: bf2fad52f5
am: 4f7e7ecdf8
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: Ie235a5c13037754065f16a93bed77943d73d7491
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 18:02:27 +00:00
Colin Cross
4f7e7ecdf8
Optimize memory usage of ninjaString am: 6126fe8067
am: bf2fad52f5
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: Id80bcc139ece811a14cccb7f7e2c5d391813e296
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:15:11 +00:00
Colin Cross
bf2fad52f5
Optimize memory usage of ninjaString am: 6126fe8067
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2628470
Change-Id: I1203d233b9c4e84a174b531b95620969f97ae9a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 16:31:40 +00:00
Colin Cross
6126fe8067
Optimize memory usage of ninjaString
...
ninjaString is an interface, which uses 16 bytes of memory on top
of the size of the concrete type. A literalNinjaString is a string,
which is another 16 bytes for the string header for a total of 32
bytes. A varNinjaString is two slices, which are 24 bytes each
for the slice headers, for a total of 64 bytes. The slices contain
the first constant string, and then altenrating variable and string
parts of the ninjaString, resulting in 16 bytes plus 32 bytes per
variable.
This patch replaces the ninjaString interface with a *ninjaString
concrete struct type. The ninjaString struct is a string and a
pointer to a slice of variable references, for a total of 24 bytes.
ninjaStrings with no variable references (the equivalent of the old
literalNinjaString) have a nil slice, and now use 24 bytes instead
of 32 bytes.
ninjaStrings with variable references allocate a slice of variable
references that contain 32-bit start and end offsets and a Variable
interface, but reuse the original string and so avoid the extra
string headers, resulting in 24 bytes for the slice header, and
24 bytes per variable.
These savings reduce the peak memory usage averaged across 10 runs of
/bin/time -v build/soong/soong_ui.bash --make-mode nothing
on the internal master branch cf_x86_64_phone-userdebug build
from 50114842kB to 45577638kB, a savings of 4537204kB or 9%.
The new Benchmark_parseNinjaString shows savings in both time and
memory. Before:
Benchmark_parseNinjaString/constant/1-128 594251787 2.006 ns/op 0 B/op 0 allocs/op
Benchmark_parseNinjaString/constant/10-128 21191347 65.57 ns/op 16 B/op 1 allocs/op
Benchmark_parseNinjaString/constant/100-128 9983748 130.2 ns/op 112 B/op 1 allocs/op
Benchmark_parseNinjaString/constant/1000-128 2632527 445.1 ns/op 1024 B/op 1 allocs/op
Benchmark_parseNinjaString/variable/1-128 2964896 419.4 ns/op 176 B/op 4 allocs/op
Benchmark_parseNinjaString/variable/10-128 1807341 670.6 ns/op 192 B/op 7 allocs/op
Benchmark_parseNinjaString/variable/100-128 1000000 1092 ns/op 352 B/op 7 allocs/op
Benchmark_parseNinjaString/variable/1000-128 300649 3773 ns/op 1584 B/op 7 allocs/op
Benchmark_parseNinjaString/variables/1-128 2858432 441.6 ns/op 176 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/2-128 2360505 513.4 ns/op 208 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/3-128 1867136 635.6 ns/op 240 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/4-128 1584045 752.1 ns/op 272 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/5-128 1338189 885.8 ns/op 304 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/10-128 1000000 1468 ns/op 464 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/100-128 88768 12895 ns/op 3712 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/1000-128 8972 133627 ns/op 32896 B/op 4 allocs/op
After:
Benchmark_parseNinjaString/constant/1-128 584600864 2.004 ns/op 0 B/op 0 allocs/op
Benchmark_parseNinjaString/constant/10-128 19274581 64.84 ns/op 16 B/op 1 allocs/op
Benchmark_parseNinjaString/constant/100-128 9017640 127.6 ns/op 112 B/op 1 allocs/op
Benchmark_parseNinjaString/constant/1000-128 2630797 453.0 ns/op 1024 B/op 1 allocs/op
Benchmark_parseNinjaString/variable/1-128 3460422 347.0 ns/op 136 B/op 4 allocs/op
Benchmark_parseNinjaString/variable/10-128 2103404 519.9 ns/op 152 B/op 7 allocs/op
Benchmark_parseNinjaString/variable/100-128 1315778 906.5 ns/op 312 B/op 7 allocs/op
Benchmark_parseNinjaString/variable/1000-128 354812 3284 ns/op 1544 B/op 7 allocs/op
Benchmark_parseNinjaString/variables/1-128 3386868 361.5 ns/op 136 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/2-128 2675594 456.9 ns/op 160 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/3-128 2344670 520.0 ns/op 192 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/4-128 1919482 648.1 ns/op 208 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/5-128 1560556 723.9 ns/op 240 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/10-128 1000000 1169 ns/op 352 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/100-128 116738 10168 ns/op 2800 B/op 4 allocs/op
Benchmark_parseNinjaString/variables/1000-128 10000 105646 ns/op 24688 B/op 4 allocs/op
Bug: 286423944
Test: ninja_strings_test.go
Test: out/soong/build*.ninja is the same before and after this change
Change-Id: I1ecffbaccb0d0469a41fa31255c1b17311e01687
2023-06-15 21:53:56 -07:00
Spandan Das
c5db2df213
Helper function to register go module types in tests
...
These two module types will be special-cased in bp2build generation
logic in build/soong. To write bp2build tests, create a helper function
to register these two module types
Test: go build ./bootstrap
Change-Id: If6abd8c8911a525bf6841b199d8ce204941d7bcb
2023-06-14 17:44:07 +00:00
Chris Parsons
14e8804203
Make skip-cloning blueprint option public am: 1b5e9aba43
am: e5c8b9ae6f
am: 3ed7ebd759
am: e79cb5165a
am: e11d7e6285
am: 334deb73f8
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: I3c838a578212df28e28fb713bf2873243f975673
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 06:46:18 +00:00
Chris Parsons
334deb73f8
Make skip-cloning blueprint option public am: 1b5e9aba43
am: e5c8b9ae6f
am: 3ed7ebd759
am: e79cb5165a
am: e11d7e6285
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: I5ef32dbf64d4469597e79237c81a62ef7227d359
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 05:58:07 +00:00
Chris Parsons
e11d7e6285
Make skip-cloning blueprint option public am: 1b5e9aba43
am: e5c8b9ae6f
am: 3ed7ebd759
am: e79cb5165a
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: I0a7a1546d4c22e58110e86e2f8d19f0ede77a95d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 05:14:49 +00:00
Chris Parsons
e79cb5165a
Make skip-cloning blueprint option public am: 1b5e9aba43
am: e5c8b9ae6f
am: 3ed7ebd759
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: Ife9ecf4999c17a2277e381a2d979b3d89816a8a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 04:27:47 +00:00
Chris Parsons
3ed7ebd759
Make skip-cloning blueprint option public am: 1b5e9aba43
am: e5c8b9ae6f
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: Id10626fccc803753763531c9e2ecfbc133760a04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 03:59:06 +00:00
Chris Parsons
e5c8b9ae6f
Make skip-cloning blueprint option public am: 1b5e9aba43
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2623170
Change-Id: I99599570a6fff0a6099c427756008880d47d2751
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 03:18:51 +00:00
Chris Parsons
1b5e9aba43
Make skip-cloning blueprint option public
...
This allows non-test integrations to set this mode.
Test: Treehugger
Change-Id: I4c69be30bd9ac917113ee8e4d0425dd40753f66f
2023-06-13 01:25:06 +00:00
Liz Kammer
02a898c0bf
Add description to json module actions am: 6f42cdc60f
am: 0467cc50a3
am: abd0e5d94a
am: d78d6decd1
am: f159a63876
am: b774a43aff
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: I0cec1fd12699cce774f55312ab1884ae2ae2469d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 02:48:07 +00:00
Liz Kammer
b774a43aff
Add description to json module actions am: 6f42cdc60f
am: 0467cc50a3
am: abd0e5d94a
am: d78d6decd1
am: f159a63876
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: I1522156d17c5ccbddef17f6d7a85b78731353ea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 02:18:07 +00:00
Liz Kammer
f159a63876
Add description to json module actions am: 6f42cdc60f
am: 0467cc50a3
am: abd0e5d94a
am: d78d6decd1
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: I822dfb1438a163ce8549ac819a57b5c803effe10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 01:34:32 +00:00
Liz Kammer
d78d6decd1
Add description to json module actions am: 6f42cdc60f
am: 0467cc50a3
am: abd0e5d94a
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: Ife52bcb2dacd9ad66d616f75193d2a6b81a510b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 00:46:25 +00:00
Liz Kammer
abd0e5d94a
Add description to json module actions am: 6f42cdc60f
am: 0467cc50a3
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: I73d9a18c6a1bcf27b8c926b6c0209eca6d834287
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 23:54:33 +00:00
Liz Kammer
0467cc50a3
Add description to json module actions am: 6f42cdc60f
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2620569
Change-Id: Ie0aa125f3c1f6966d83ab63f8ed9c0f0e222101c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 23:08:37 +00:00
Liz Kammer
6f42cdc60f
Add description to json module actions
...
Test: m json-module-graph and spot check
Change-Id: Ia825cd6910d42ce7be34200f5d4a669f2d675727
2023-06-08 10:01:06 -04:00
Treehugger Robot
5af4df279b
Merge "Add a function to check missing deps" am: 2259132d96
am: a8ce65d348
am: a16d1231f4
am: fa824cd1ff
am: 166bbbd663
am: c92afe41df
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: I71b334685e166b9c8a1d9fc65ce2b998e30fcba9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 20:40:04 +00:00
Treehugger Robot
c92afe41df
Merge "Add a function to check missing deps" am: 2259132d96
am: a8ce65d348
am: a16d1231f4
am: fa824cd1ff
am: 166bbbd663
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: Iefa5f717ee6c5ec0f38aa39f712b5f7da529f9be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 19:56:24 +00:00
Treehugger Robot
166bbbd663
Merge "Add a function to check missing deps" am: 2259132d96
am: a8ce65d348
am: a16d1231f4
am: fa824cd1ff
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: I4b5f405b29e35cb033b76e90c9c35da6881f994b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 18:59:05 +00:00
Treehugger Robot
fa824cd1ff
Merge "Add a function to check missing deps" am: 2259132d96
am: a8ce65d348
am: a16d1231f4
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: I91f60789ff4771770dd9d30240c55d126708fe91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 18:15:56 +00:00
Treehugger Robot
a16d1231f4
Merge "Add a function to check missing deps" am: 2259132d96
am: a8ce65d348
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: I2a4d505e8ff2b2348a8ab0d66afeb681e037a6ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 17:31:50 +00:00
Treehugger Robot
a8ce65d348
Merge "Add a function to check missing deps" am: 2259132d96
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2596965
Change-Id: Ia459100e758a52d2b1a38afda3ee84c25335337b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-23 16:53:43 +00:00
Treehugger Robot
2259132d96
Merge "Add a function to check missing deps"
2023-05-23 16:07:01 +00:00
LaMont Jones
8e289aeb47
context: Allow running some singletons in parallel. am: 12ccb17d4e
am: 22ff6aea90
am: 45d4f12ee1
am: b2835befaa
am: d44da0a6bb
am: 19ba5547f0
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: I5c91dcd0107c561c38ece495db86d6fb4f8e45f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 20:17:47 +00:00
LaMont Jones
e9521a061f
live_tracker: wrap add functions with mutex am: ff04c33f2a
am: 5e8c2df08f
am: cbc5498930
am: 97864c2fdc
am: e1c9d00d23
am: a4e385a900
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: I7a2d403e9e27474ea3a82b9fec5253711e61d875
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 20:17:41 +00:00
LaMont Jones
19ba5547f0
context: Allow running some singletons in parallel. am: 12ccb17d4e
am: 22ff6aea90
am: 45d4f12ee1
am: b2835befaa
am: d44da0a6bb
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: Ia419547e06ae960b81712a2ecda727d62e146fda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 20:12:39 +00:00
LaMont Jones
a4e385a900
live_tracker: wrap add functions with mutex am: ff04c33f2a
am: 5e8c2df08f
am: cbc5498930
am: 97864c2fdc
am: e1c9d00d23
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: I9bf9a025a50ec1a5e0d5bef935390d7da720d9f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 20:12:32 +00:00
LaMont Jones
d44da0a6bb
context: Allow running some singletons in parallel. am: 12ccb17d4e
am: 22ff6aea90
am: 45d4f12ee1
am: b2835befaa
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: I0d049d6cac1a29444113ff052955ea849404965a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 19:48:59 +00:00
LaMont Jones
e1c9d00d23
live_tracker: wrap add functions with mutex am: ff04c33f2a
am: 5e8c2df08f
am: cbc5498930
am: 97864c2fdc
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: I25bfe75b4021477bdd2a2408831138a5d1612a17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 19:48:54 +00:00
LaMont Jones
b2835befaa
context: Allow running some singletons in parallel. am: 12ccb17d4e
am: 22ff6aea90
am: 45d4f12ee1
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: Ia9da283a76bdebe623b76c54bb0cc4699b970670
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 19:00:29 +00:00
LaMont Jones
97864c2fdc
live_tracker: wrap add functions with mutex am: ff04c33f2a
am: 5e8c2df08f
am: cbc5498930
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: I5b6646670c54eec967740c3d90576551a0a9eba9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 19:00:23 +00:00
LaMont Jones
45d4f12ee1
context: Allow running some singletons in parallel. am: 12ccb17d4e
am: 22ff6aea90
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: I9e4f66601381837039082df27819f325ede627b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 18:14:12 +00:00
LaMont Jones
cbc5498930
live_tracker: wrap add functions with mutex am: ff04c33f2a
am: 5e8c2df08f
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: I5fbefbef2f13119dcfa4f014efaa381500349a18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 18:14:06 +00:00
LaMont Jones
22ff6aea90
context: Allow running some singletons in parallel. am: 12ccb17d4e
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592647
Change-Id: I0a6d414effcaaec16bf7f66f4343730b437e80de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 17:11:33 +00:00
LaMont Jones
5e8c2df08f
live_tracker: wrap add functions with mutex am: ff04c33f2a
...
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2592646
Change-Id: Id2851dd5282c377aa8e7b54ea9f74adad5cc9755
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-22 17:11:27 +00:00
LaMont Jones
12ccb17d4e
context: Allow running some singletons in parallel.
...
Many of the singletons are trivial and can be run in parallel, improving
the performance during analysis.
Bug: 281536768
Test: manual, presubmit
Change-Id: Ia63e4bc42a68e65dfa800e770982fa5826355fad
2023-05-19 19:03:08 +00:00