Chromium Code Reviews| Index: src/platform-linux.cc |
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
| index d02244896bcf8930ecd895a92a7b2ab5a5365b32..606d10236eb5f6a498eda7034b609edd56974d7a 100644 |
| --- a/src/platform-linux.cc |
| +++ b/src/platform-linux.cc |
| @@ -512,9 +512,6 @@ void OS::LogSharedLibraryAddresses() { |
| } |
| -static const char kGCFakeMmap[] = "/tmp/__v8_gc__"; |
|
ulan
2012/09/06 14:11:20
There is not /tmp on Android.
|
| - |
| - |
| void OS::SignalCodeMovingGC() { |
| // Support for ll_prof.py. |
| // |
| @@ -525,7 +522,7 @@ void OS::SignalCodeMovingGC() { |
| // by the kernel and allows us to synchronize V8 code log and the |
| // kernel log. |
| int size = sysconf(_SC_PAGESIZE); |
| - FILE* f = fopen(kGCFakeMmap, "w+"); |
| + FILE* f = fopen(FLAG_gc_fake_mmap, "w+"); |
| void* addr = mmap(OS::GetRandomMmapAddr(), |
| size, |
| PROT_READ | PROT_EXEC, |