From b1fceadbd42b3047a9c06a8af6239c737d67344e Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 20 Apr 2015 18:53:51 -0700 Subject: 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 --- compiler/common_compiler_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/common_compiler_test.cc') 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, nullptr, + true, new std::unordered_set, nullptr, 2, true, true, "", timer_.get(), -1, "")); } // We typically don't generate an image in unit tests, disable this optimization by default. -- cgit v1.2.3-59-g8ed1b