| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "platform/heap/SafePoint.h" | 40 #include "platform/heap/SafePoint.h" |
| 41 #include "platform/heap/Visitor.h" | 41 #include "platform/heap/Visitor.h" |
| 42 #include "public/platform/Platform.h" | 42 #include "public/platform/Platform.h" |
| 43 #include "public/platform/WebMemoryAllocatorDump.h" | 43 #include "public/platform/WebMemoryAllocatorDump.h" |
| 44 #include "public/platform/WebProcessMemoryDump.h" | 44 #include "public/platform/WebProcessMemoryDump.h" |
| 45 #include "public/platform/WebScheduler.h" | 45 #include "public/platform/WebScheduler.h" |
| 46 #include "public/platform/WebThread.h" | 46 #include "public/platform/WebThread.h" |
| 47 #include "public/platform/WebTraceLocation.h" | 47 #include "public/platform/WebTraceLocation.h" |
| 48 #include "wtf/CurrentTime.h" | 48 #include "wtf/CurrentTime.h" |
| 49 #include "wtf/DataLog.h" | 49 #include "wtf/DataLog.h" |
| 50 #include "wtf/Partitions.h" | |
| 51 #include "wtf/ThreadingPrimitives.h" | 50 #include "wtf/ThreadingPrimitives.h" |
| 51 #include "wtf/allocator/Partitions.h" |
| 52 | 52 |
| 53 #if OS(WIN) | 53 #if OS(WIN) |
| 54 #include <stddef.h> | 54 #include <stddef.h> |
| 55 #include <windows.h> | 55 #include <windows.h> |
| 56 #include <winnt.h> | 56 #include <winnt.h> |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 #if defined(MEMORY_SANITIZER) | 59 #if defined(MEMORY_SANITIZER) |
| 60 #include <sanitizer/msan_interface.h> | 60 #include <sanitizer/msan_interface.h> |
| 61 #endif | 61 #endif |
| (...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1551 threadDump->addScalar("dead_count", "objects", totalDeadCount); | 1551 threadDump->addScalar("dead_count", "objects", totalDeadCount); |
| 1552 threadDump->addScalar("live_size", "bytes", totalLiveSize); | 1552 threadDump->addScalar("live_size", "bytes", totalLiveSize); |
| 1553 threadDump->addScalar("dead_size", "bytes", totalDeadSize); | 1553 threadDump->addScalar("dead_size", "bytes", totalDeadSize); |
| 1554 | 1554 |
| 1555 WebMemoryAllocatorDump* heapsDump = BlinkGCMemoryDumpProvider::instance()->c
reateMemoryAllocatorDumpForCurrentGC(heapsDumpName); | 1555 WebMemoryAllocatorDump* heapsDump = BlinkGCMemoryDumpProvider::instance()->c
reateMemoryAllocatorDumpForCurrentGC(heapsDumpName); |
| 1556 WebMemoryAllocatorDump* classesDump = BlinkGCMemoryDumpProvider::instance()-
>createMemoryAllocatorDumpForCurrentGC(classesDumpName); | 1556 WebMemoryAllocatorDump* classesDump = BlinkGCMemoryDumpProvider::instance()-
>createMemoryAllocatorDumpForCurrentGC(classesDumpName); |
| 1557 BlinkGCMemoryDumpProvider::instance()->currentProcessMemoryDump()->addOwners
hipEdge(classesDump->guid(), heapsDump->guid()); | 1557 BlinkGCMemoryDumpProvider::instance()->currentProcessMemoryDump()->addOwners
hipEdge(classesDump->guid(), heapsDump->guid()); |
| 1558 } | 1558 } |
| 1559 | 1559 |
| 1560 } // namespace blink | 1560 } // namespace blink |
| OLD | NEW |