| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 PosixMemoryMappedFile::~PosixMemoryMappedFile() { | 249 PosixMemoryMappedFile::~PosixMemoryMappedFile() { |
| 250 if (memory_) munmap(memory_, size_); | 250 if (memory_) munmap(memory_, size_); |
| 251 fclose(file_); | 251 fclose(file_); |
| 252 } | 252 } |
| 253 | 253 |
| 254 | 254 |
| 255 void OS::LogSharedLibraryAddresses() { | 255 void OS::LogSharedLibraryAddresses() { |
| 256 } | 256 } |
| 257 | 257 |
| 258 | 258 |
| 259 void OS::SignalCodeMovingGC() { |
| 260 } |
| 261 |
| 262 |
| 259 struct StackWalker { | 263 struct StackWalker { |
| 260 Vector<OS::StackFrame>& frames; | 264 Vector<OS::StackFrame>& frames; |
| 261 int index; | 265 int index; |
| 262 }; | 266 }; |
| 263 | 267 |
| 264 | 268 |
| 265 static int StackWalkCallback(uintptr_t pc, int signo, void* data) { | 269 static int StackWalkCallback(uintptr_t pc, int signo, void* data) { |
| 266 struct StackWalker* walker = static_cast<struct StackWalker*>(data); | 270 struct StackWalker* walker = static_cast<struct StackWalker*>(data); |
| 267 Dl_info info; | 271 Dl_info info; |
| 268 | 272 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 } | 648 } |
| 645 | 649 |
| 646 // This sampler is no longer the active sampler. | 650 // This sampler is no longer the active sampler. |
| 647 active_sampler_ = NULL; | 651 active_sampler_ = NULL; |
| 648 active_ = false; | 652 active_ = false; |
| 649 } | 653 } |
| 650 | 654 |
| 651 #endif // ENABLE_LOGGING_AND_PROFILING | 655 #endif // ENABLE_LOGGING_AND_PROFILING |
| 652 | 656 |
| 653 } } // namespace v8::internal | 657 } } // namespace v8::internal |
| OLD | NEW |