Changeset 14256 in webkit for trunk/JavaScriptCore/wtf/TCSystemAlloc.cpp
- Timestamp:
- May 9, 2006, 2:27:55 AM (19 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/TCSystemAlloc.cpp
r13089 r14256 69 69 // the mmap address space (1300MBish) are disjoint, so we need both allocators 70 70 // to get as much virtual memory as possible. 71 #ifndef KXC_CHANGES71 #ifndef WTF_CHANGES 72 72 static bool use_devmem = false; 73 73 #endif … … 80 80 static bool mmap_failure = false; 81 81 82 #ifndef KXC_CHANGES82 #ifndef WTF_CHANGES 83 83 DEFINE_int32(malloc_devmem_start, 0, 84 84 "Physical memory starting location in MB for /dev/mem allocation." … … 173 173 #endif /* HAVE(MMAP) */ 174 174 175 #ifndef KXC_CHANGES175 #ifndef WTF_CHANGES 176 176 static void* TryDevMem(size_t size, size_t alignment) { 177 177 static bool initialized = false; … … 247 247 248 248 void* TCMalloc_SystemAlloc(size_t size, size_t alignment) { 249 #ifndef KXC_CHANGES249 #ifndef WTF_CHANGES 250 250 if (TCMallocDebug::level >= TCMallocDebug::kVerbose) { 251 251 MESSAGE("TCMalloc_SystemAlloc(%" PRIuS ", %" PRIuS")\n", … … 262 262 for (int i = 0; i < 2; i++) { 263 263 264 #ifndef KXC_CHANGES264 #ifndef WTF_CHANGES 265 265 if (use_devmem && !devmem_failure) { 266 266 void* result = TryDevMem(size, alignment);
Note:
See TracChangeset
for help on using the changeset viewer.