diff options
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r-- | runtime/parsed_options.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index 04f1a05a3d..37db4624be 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -147,7 +147,13 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni compiler_callbacks_ = nullptr; is_zygote_ = false; - interpreter_only_ = false; + if (kPoisonHeapReferences) { + // kPoisonHeapReferences currently works only with the interpreter only. + // TODO: make it work with the compiler. + interpreter_only_ = true; + } else { + interpreter_only_ = false; + } is_explicit_gc_disabled_ = false; long_pause_log_threshold_ = gc::Heap::kDefaultLongPauseLogThreshold; |