| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index a93840f6edaae763c397f574034aee6e78894f99..05f87922f16e2444a9d085ba12156593bc9f751c 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1954,6 +1954,12 @@ bool Isolate::Init(Deserializer* des) {
|
| LOG(this, LogCompiledFunctions());
|
| }
|
|
|
| + // If we are profiling with the Linux perf tool, we need to disable
|
| + // code relocation.
|
| + if (FLAG_perf_jit_prof || FLAG_perf_basic_prof) {
|
| + FLAG_compact_code_space = false;
|
| + }
|
| +
|
| CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, embedder_data_)),
|
| Internals::kIsolateEmbedderDataOffset);
|
| CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)),
|
|
|