| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/address_sanitizer.h" | 5 #include "platform/address_sanitizer.h" |
| 6 #include "platform/memory_sanitizer.h" | 6 #include "platform/memory_sanitizer.h" |
| 7 #include "platform/utils.h" | 7 #include "platform/utils.h" |
| 8 | 8 |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 } else { | 999 } else { |
| 1000 ProfilerDartStackWalker dart_stack_walker(isolate, | 1000 ProfilerDartStackWalker dart_stack_walker(isolate, |
| 1001 NULL, | 1001 NULL, |
| 1002 NULL, | 1002 NULL, |
| 1003 stack_lower, | 1003 stack_lower, |
| 1004 stack_upper, | 1004 stack_upper, |
| 1005 pc, | 1005 pc, |
| 1006 fp, | 1006 fp, |
| 1007 sp); | 1007 sp); |
| 1008 } | 1008 } |
| 1009 OS::Print("-- End of DumpStackTrace"); |
| 1009 } | 1010 } |
| 1010 | 1011 |
| 1011 | 1012 |
| 1012 void Profiler::SampleAllocation(Thread* thread, intptr_t cid) { | 1013 void Profiler::SampleAllocation(Thread* thread, intptr_t cid) { |
| 1013 ASSERT(thread != NULL); | 1014 ASSERT(thread != NULL); |
| 1014 OSThread* os_thread = thread->os_thread(); | 1015 OSThread* os_thread = thread->os_thread(); |
| 1015 ASSERT(os_thread != NULL); | 1016 ASSERT(os_thread != NULL); |
| 1016 Isolate* isolate = thread->isolate(); | 1017 Isolate* isolate = thread->isolate(); |
| 1017 if (!CheckIsolate(isolate)) { | 1018 if (!CheckIsolate(isolate)) { |
| 1018 return; | 1019 return; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1563 | 1564 |
| 1564 | 1565 |
| 1565 ProcessedSampleBuffer::ProcessedSampleBuffer() | 1566 ProcessedSampleBuffer::ProcessedSampleBuffer() |
| 1566 : code_lookup_table_(new CodeLookupTable(Thread::Current())) { | 1567 : code_lookup_table_(new CodeLookupTable(Thread::Current())) { |
| 1567 ASSERT(code_lookup_table_ != NULL); | 1568 ASSERT(code_lookup_table_ != NULL); |
| 1568 } | 1569 } |
| 1569 | 1570 |
| 1570 #endif // !PRODUCT | 1571 #endif // !PRODUCT |
| 1571 | 1572 |
| 1572 } // namespace dart | 1573 } // namespace dart |
| OLD | NEW |