Index: src/platform-openbsd.cc |
diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc |
index ba33a8444e23760a2b47585cb82e5c750074a8fd..408d4dc0f8487e08a8a4277ad8139f4910b6d4de 100644 |
--- a/src/platform-openbsd.cc |
+++ b/src/platform-openbsd.cc |
@@ -323,9 +323,6 @@ void OS::LogSharedLibraryAddresses() { |
} |
-static const char kGCFakeMmap[] = "/tmp/__v8_gc__"; |
- |
- |
void OS::SignalCodeMovingGC() { |
// Support for ll_prof.py. |
// |
@@ -336,7 +333,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(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, |
fileno(f), 0); |
ASSERT(addr != MAP_FAILED); |