Merge "Supporting de-virtualization for precise types." into dalvik-dev
diff --git a/src/runtime.cc b/src/runtime.cc
index 0caf81d..17f283b 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -364,7 +364,7 @@
parsed->hook_exit_ = exit;
parsed->hook_abort_ = NULL; // We don't call abort(3) by default; see Runtime::Abort.
- parsed->small_mode_ = true;
+ parsed->small_mode_ = false;
parsed->small_mode_method_threshold_ = Runtime::kDefaultSmallModeMethodThreshold;
parsed->small_mode_method_dex_size_limit_ = Runtime::kDefaultSmallModeMethodDexSizeLimit;
diff --git a/src/runtime.h b/src/runtime.h
index ac9b50b..0ada0a2 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -61,7 +61,7 @@
public:
typedef std::vector<std::pair<std::string, const void*> > Options;
- static const size_t kDefaultSmallModeMethodThreshold = 10;
+ static const size_t kDefaultSmallModeMethodThreshold = 30;
static const size_t kDefaultSmallModeMethodDexSizeLimit = 100;
class ParsedOptions {