summaryrefslogtreecommitdiff
path: root/test/2031-zygote-compiled-frame-deopt/native-wait.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/2031-zygote-compiled-frame-deopt/native-wait.cc')
-rw-r--r--test/2031-zygote-compiled-frame-deopt/native-wait.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/2031-zygote-compiled-frame-deopt/native-wait.cc b/test/2031-zygote-compiled-frame-deopt/native-wait.cc
index bd1d224acd..fb453451ac 100644
--- a/test/2031-zygote-compiled-frame-deopt/native-wait.cc
+++ b/test/2031-zygote-compiled-frame-deopt/native-wait.cc
@@ -42,7 +42,7 @@ extern "C" JNIEXPORT void JNICALL Java_art_Test2031_simulateZygoteFork(JNIEnv*,
}
runtime->SetAsZygoteChild(/*is_system_server=*/false, /*is_zygote=*/false);
runtime->AddCompilerOption("--debuggable");
- runtime->SetJavaDebuggable(true);
+ runtime->SetRuntimeDebugState(Runtime::RuntimeDebugState::kJavaDebuggableAtInit);
{
// Deoptimize the boot image as it may be non-debuggable.
ScopedSuspendAll ssa(__FUNCTION__);