OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Platform-specific code for Linux goes here. For the POSIX-compatible | 5 // Platform-specific code for Linux goes here. For the POSIX-compatible |
6 // parts, the implementation is in platform-posix.cc. | 6 // parts, the implementation is in platform-posix.cc. |
7 | 7 |
8 #include <pthread.h> | 8 #include <pthread.h> |
9 #include <semaphore.h> | 9 #include <semaphore.h> |
10 #include <signal.h> | 10 #include <signal.h> |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 __lsan_unregister_root_region(base, size); | 381 __lsan_unregister_root_region(base, size); |
382 #endif | 382 #endif |
383 return munmap(base, size) == 0; | 383 return munmap(base, size) == 0; |
384 } | 384 } |
385 | 385 |
386 | 386 |
387 bool VirtualMemory::HasLazyCommits() { | 387 bool VirtualMemory::HasLazyCommits() { |
388 return true; | 388 return true; |
389 } | 389 } |
390 | 390 |
391 } } // namespace v8::base | 391 } // namespace base |
| 392 } // namespace v8 |
OLD | NEW |