summaryrefslogtreecommitdiffstats
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-04-20 18:53:51 -0700
committerAndreas Gampe <agampe@google.com>2015-04-20 19:51:44 -0700
commitb1fceadbd42b3047a9c06a8af6239c737d67344e (patch)
tree605389efc1479fa58b85481c4c291bc072ba0d78 /compiler/common_compiler_test.cc
parent4474073ee836d463af29329c86d49354559a41c5 (diff)
downloadandroid_art-b1fceadbd42b3047a9c06a8af6239c737d67344e.tar.gz
android_art-b1fceadbd42b3047a9c06a8af6239c737d67344e.tar.bz2
android_art-b1fceadbd42b3047a9c06a8af6239c737d67344e.zip
ART: Change image_classes and compiled_classes to unordered set
These lists can be large, and the soon-to-follow compiled_methods will be potentially even larger. Use a hash set instead of a tree set. Change-Id: I7d25c075540f47771354c6f49928b4fd0c76eb2e
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r--compiler/common_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index 96d90bb443..8ffc86ea3f 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -165,7 +165,7 @@ void CommonCompilerTest::SetUp() {
method_inliner_map_.get(),
compiler_kind, instruction_set,
instruction_set_features_.get(),
- true, new std::set<std::string>, nullptr,
+ true, new std::unordered_set<std::string>, nullptr,
2, true, true, "", timer_.get(), -1, ""));
}
// We typically don't generate an image in unit tests, disable this optimization by default.