diff options
author | 2015-10-16 15:47:08 +0000 | |
---|---|---|
committer | 2015-10-16 15:47:08 +0000 | |
commit | 3ae313d9bc64eaa0c791452dd972654eae979496 (patch) | |
tree | f3a5eb9404ef18b124063614eb8967b58f239939 /runtime/class_table.cc | |
parent | e8939d20602ec88c314d50e201215a264666828a (diff) | |
parent | 32cc9ee0cdffecb0ec8d80a7fd55d7dccae3a7ee (diff) |
Merge "Change hash table load factors"
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r-- | runtime/class_table.cc | 4 |
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() { |