summaryrefslogtreecommitdiffstats
path: root/runtime/generated/asm_support_gen.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-05-01 09:59:24 -0700
committerMathieu Chartier <mathieuc@google.com>2017-05-01 14:45:24 -0700
commit612ff540cd3329935351f05923358cf29b9c9b44 (patch)
treedbe861f133a037ee487aaee27fa727d58c3aa73f /runtime/generated/asm_support_gen.h
parenta44d67e7ff3c0d3967f4e9a2d9d1d18c5701c7e7 (diff)
downloadart-612ff540cd3329935351f05923358cf29b9c9b44.tar.gz
art-612ff540cd3329935351f05923358cf29b9c9b44.tar.bz2
art-612ff540cd3329935351f05923358cf29b9c9b44.zip
Increase GC card size to 1024
With CC, having a larger GC card size does not commonly affect pauses. Results: Before (128): System wide card table PSS: 3642.4K GrayAllNewlyDirtyImmuneObjects avg: 145us After (1024): System wide card table PSS: 1477.8K GrayAllNewlyDirtyImmuneObjects avg: 75us Test: test-art-host Bug: 36457259 Change-Id: Icec03664985ef75859f4e99d9f76c3b9988193e6
Diffstat (limited to 'runtime/generated/asm_support_gen.h')
-rw-r--r--runtime/generated/asm_support_gen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/generated/asm_support_gen.h b/runtime/generated/asm_support_gen.h
index 4af562560c..06638e712c 100644
--- a/runtime/generated/asm_support_gen.h
+++ b/runtime/generated/asm_support_gen.h
@@ -78,7 +78,7 @@ DEFINE_CHECK_EQ(static_cast<int32_t>(STRING_DEX_CACHE_SIZE_MINUS_ONE), (static_c
DEFINE_CHECK_EQ(static_cast<int32_t>(STRING_DEX_CACHE_HASH_BITS), (static_cast<int32_t>(art::LeastSignificantBit(art::mirror::DexCache::kDexCacheStringCacheSize))))
#define STRING_DEX_CACHE_ELEMENT_SIZE 8
DEFINE_CHECK_EQ(static_cast<int32_t>(STRING_DEX_CACHE_ELEMENT_SIZE), (static_cast<int32_t>(sizeof(art::mirror::StringDexCachePair))))
-#define CARD_TABLE_CARD_SHIFT 0x7
+#define CARD_TABLE_CARD_SHIFT 0xa
DEFINE_CHECK_EQ(static_cast<size_t>(CARD_TABLE_CARD_SHIFT), (static_cast<size_t>(art::gc::accounting::CardTable::kCardShift)))
#define MIN_LARGE_OBJECT_THRESHOLD 0x3000
DEFINE_CHECK_EQ(static_cast<size_t>(MIN_LARGE_OBJECT_THRESHOLD), (static_cast<size_t>(art::gc::Heap::kMinLargeObjectThreshold)))