summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2023-08-24 14:08:33 +0100
committer David Srbecky <dsrbecky@google.com> 2023-08-30 13:05:29 +0000
commit33d57ac6d1be2127bc31fb55a5054ac84bb7d78d (patch)
tree453ab97ca94cd0838ca7ee065a24d27ce3e725bd /runtime/jit/jit_code_cache.cc
parent834fb38bc0fb16d7d79bc877fced920065bbff82 (diff)
Move HasShouldDeoptimizeFlag from method header to CodeInfo.
We don't have room for the extra bit if the code size is greater than 1GB. Bug: 288215378 Bug: 288833213 Bug: 297093110 Test: ./art/test.py -b --host --64 Change-Id: I0070b270c7fe03f2f6fbb26223e78de41305c547
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r--runtime/jit/jit_code_cache.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc
index aae923aa6f..0744aec412 100644
--- a/runtime/jit/jit_code_cache.cc
+++ b/runtime/jit/jit_code_cache.cc
@@ -663,7 +663,6 @@ bool JitCodeCache::Commit(Thread* self,
const std::vector<uint8_t>& debug_info,
bool is_full_debug_info,
CompilationKind compilation_kind,
- bool has_should_deoptimize_flag,
const ArenaSet<ArtMethod*>& cha_single_implementation_list) {
DCHECK_IMPLIES(method->IsNative(), (compilation_kind != CompilationKind::kOsr));
@@ -681,8 +680,7 @@ bool JitCodeCache::Commit(Thread* self,
// We need to make sure that there will be no jit-gcs going on and wait for any ongoing one to
// finish.
WaitForPotentialCollectionToCompleteRunnable(self);
- const uint8_t* code_ptr = region->CommitCode(
- reserved_code, code, stack_map_data, has_should_deoptimize_flag);
+ const uint8_t* code_ptr = region->CommitCode(reserved_code, code, stack_map_data);
if (code_ptr == nullptr) {
return false;
}