mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-06 23:54:03 +00:00
!9410 [JIT] Fixed mutil thread check when get jit thread
Merge pull request !9410 from xiaoweidong/no_check_jit_thread
This commit is contained in:
commit
60410ef266
@ -444,7 +444,9 @@ void Jit::Compile(EcmaVM *vm, JSHandle<JSFunction> &jsFunction, CompilerTier tie
|
||||
{
|
||||
JitTaskpool::GetCurrentTaskpool()->WaitForJitTaskPoolReady();
|
||||
EcmaVM *compilerVm = JitTaskpool::GetCurrentTaskpool()->GetCompilerVm();
|
||||
std::shared_ptr<JitTask> jitTask = std::make_shared<JitTask>(vm->GetJSThread(), compilerVm->GetJSThread(),
|
||||
std::shared_ptr<JitTask> jitTask = std::make_shared<JitTask>(vm->GetJSThread(),
|
||||
// avoid check fail when enable multi-thread check
|
||||
compilerVm->GetJSThreadNoCheck(),
|
||||
jit, jsFunction, tier, methodName, offset, vm->GetJSThread()->GetThreadId(), mode);
|
||||
|
||||
jitTask->PrepareCompile();
|
||||
|
@ -15,5 +15,6 @@ import("//arkcompiler/ets_runtime/test/test_helper.gni")
|
||||
|
||||
host_jit_test_action("ts_inline") {
|
||||
deps = []
|
||||
extra_option = " --log-info=trace --compiler-trace-inline=true"
|
||||
extra_option =
|
||||
" --log-info=trace --compiler-trace-inline=true --ark-properties=0x107c"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user