summaryrefslogtreecommitdiffstats
path: root/cmdline
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2016-04-20 14:22:09 +0100
committerCalin Juravle <calin@google.com>2016-04-28 16:15:04 +0100
commitffc87076dda9878cb2cc098149bae441d38b9268 (patch)
treee587208d6a8e62532792add3e1ace6b4e6d73e0f /cmdline
parent97cbc9206e9adc473a90650ebdb5d620f517ff04 (diff)
downloadandroid_art-ffc87076dda9878cb2cc098149bae441d38b9268.tar.gz
android_art-ffc87076dda9878cb2cc098149bae441d38b9268.tar.bz2
android_art-ffc87076dda9878cb2cc098149bae441d38b9268.zip
Split profile recording from jit compilation
We still use ProfileInfo objects to record profile information. That gives us the flexibility to add the inline caches in the future and the convenience of the already implemented GC. If UseJIT is false and SaveProfilingInfo true, we will only record the ProfileInfo and never launch compilation tasks. Bug: 27916886 (cherry picked from commit e5de54cfab5f14ba0b8ff25d8d60901c7021943f) Change-Id: I68afc181d71447895fb12346c1806e99bcab1de2
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/cmdline_parser_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/cmdline_parser_test.cc b/cmdline/cmdline_parser_test.cc
index 81b854e9c3..7c53e01c47 100644
--- a/cmdline/cmdline_parser_test.cc
+++ b/cmdline/cmdline_parser_test.cc
@@ -461,8 +461,8 @@ TEST_F(CmdlineParserTest, TestJitOptions) {
* Test successes
*/
{
- EXPECT_SINGLE_PARSE_VALUE(true, "-Xusejit:true", M::UseJIT);
- EXPECT_SINGLE_PARSE_VALUE(false, "-Xusejit:false", M::UseJIT);
+ EXPECT_SINGLE_PARSE_VALUE(true, "-Xusejit:true", M::UseJitCompilation);
+ EXPECT_SINGLE_PARSE_VALUE(false, "-Xusejit:false", M::UseJitCompilation);
}
{
EXPECT_SINGLE_PARSE_VALUE(