diff options
author | 2020-04-28 16:17:49 -0700 | |
---|---|---|
committer | 2020-04-30 20:22:39 +0000 | |
commit | 7e678d3c0f564e44638e27c411b2cc0ef8ee145a (patch) | |
tree | 82789a1653ecfaabea517a56c2cba4fd59ca9203 /compiler/optimizing/superblock_cloner_test.cc | |
parent | bb3560d58538d7172b058853d471a876ddd86467 (diff) |
Assert allocator-type is known on OOME
We should always be using a known allocator-type. So instead of being
conditional about this, assert it.
This change also simplifies updation of alloc entrypoints for CC
collector. Earlier we used to choose TLAB allocator on x86_64 targets
to avoid a read-barrier in allocation path. Now that it's not there, we
can simplify to always use RegionTLAB allocator for CC.
Test: art/test/testrunner/testrunner.py -t 004-ThreadStress
Bug: 154100060
Change-Id: Ic692794c3dab80a67c2c4b3274adf00f879ad21b
Diffstat (limited to 'compiler/optimizing/superblock_cloner_test.cc')
0 files changed, 0 insertions, 0 deletions