Home
last modified time | relevance | path

Searched refs:code_cache (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jit/
Djit_code_cache_test.cc35 std::unique_ptr<JitCodeCache> code_cache( in TEST_F() local
37 ASSERT_TRUE(code_cache.get() != nullptr) << error_msg; in TEST_F()
38 ASSERT_TRUE(code_cache->CodeCachePtr() != nullptr); in TEST_F()
39 ASSERT_EQ(code_cache->CodeCacheSize(), 0u); in TEST_F()
40 ASSERT_GT(code_cache->CodeCacheRemain(), 0u); in TEST_F()
41 ASSERT_TRUE(code_cache->DataCachePtr() != nullptr); in TEST_F()
42 ASSERT_EQ(code_cache->DataCacheSize(), 0u); in TEST_F()
43 ASSERT_GT(code_cache->DataCacheRemain(), 0u); in TEST_F()
44 ASSERT_EQ(code_cache->CodeCacheRemain() + code_cache->DataCacheRemain(), kSize); in TEST_F()
45 ASSERT_EQ(code_cache->NumMethods(), 0u); in TEST_F()
[all …]
/art/compiler/jit/
Djit_compiler.cc210 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in AddToCodeCache() local
217 const uint8_t* base = code_cache->CodeCachePtr(); in AddToCodeCache()
223 uint8_t* const mapping_table_ptr = code_cache->AddDataArray( in AddToCodeCache()
228 uint8_t* const vmap_table_ptr = code_cache->AddDataArray( in AddToCodeCache()
233 uint8_t* const gc_map_ptr = code_cache->AddDataArray( in AddToCodeCache()
240 uint8_t* const code_reserve = code_cache->ReserveCode(self, reserve_size); in AddToCodeCache()
261 << PrettySize(code_cache->CodeCacheSize()) << ": " << reinterpret_cast<void*>(code_ptr) in AddToCodeCache()
/art/test/115-native-bridge/
Dexpected.txt1 Code cache exists: './code_cache'.
/art/runtime/
Dinstrumentation.cc95 jit::JitCodeCache* code_cache = jit->GetCodeCache(); in UpdateEntrypoints() local
96 if (code_cache->ContainsCodePtr(old_code_ptr)) { in UpdateEntrypoints()
98 code_cache->SaveCompiledCode(method, old_code_ptr); in UpdateEntrypoints()