summaryrefslogtreecommitdiff
path: root/runtime/class_table.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-10-16 15:47:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-10-16 15:47:08 +0000
commit3ae313d9bc64eaa0c791452dd972654eae979496 (patch)
treef3a5eb9404ef18b124063614eb8967b58f239939 /runtime/class_table.cc
parente8939d20602ec88c314d50e201215a264666828a (diff)
parent32cc9ee0cdffecb0ec8d80a7fd55d7dccae3a7ee (diff)
Merge "Change hash table load factors"
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r--runtime/class_table.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc
index fc8e6c49da..4b0cbc836c 100644
--- a/runtime/class_table.cc
+++ b/runtime/class_table.cc
@@ -21,7 +21,9 @@
namespace art {
ClassTable::ClassTable() {
- classes_.push_back(ClassSet());
+ Runtime* const runtime = Runtime::Current();
+ classes_.push_back(ClassSet(runtime->GetHashTableMinLoadFactor(),
+ runtime->GetHashTableMaxLoadFactor()));
}
void ClassTable::FreezeSnapshot() {