diff options
author | 2022-02-16 18:48:27 -0800 | |
---|---|---|
committer | 2022-02-17 16:06:47 +0000 | |
commit | 5fd0a872ef49084ce9ef6702a447c4cecc463797 (patch) | |
tree | 6436a383f4583bc364858bac8a0bf21302d8aa67 | |
parent | d77cc47576af456af06ac1a0125bda277d1e5536 (diff) |
Double debug monitor pool size again
aosp/1978988 wasn't quite enough.
Bug: 217607468
Test: Build boot AOSP, Treehugger
Change-Id: Ic6707ac79af1288784e06a0bb88457a9c6a5224c
-rw-r--r-- | runtime/monitor_pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/monitor_pool.h b/runtime/monitor_pool.h index 24390f34f7..e07aa9735f 100644 --- a/runtime/monitor_pool.h +++ b/runtime/monitor_pool.h @@ -200,7 +200,7 @@ class MonitorPool { // should be large enough that we don't run out. We run out of address bits if it's > 512. // Currently we set it a bit smaller, to save half a page per process. We make it tiny in // debug builds to catch growth errors. The only value we really expect to tune. - static constexpr size_t kInitialChunkStorage = kIsDebugBuild ? 4U : 256U; + static constexpr size_t kInitialChunkStorage = kIsDebugBuild ? 8U : 256U; static_assert(IsPowerOfTwo(kInitialChunkStorage), "kInitialChunkStorage must be power of 2"); // The number of lists, each containing pointers to storage chunks. static constexpr size_t kMaxChunkLists = 8; // Dictated by 3 bit index. Don't increase above 8. |