Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

Issue 1642983002: Cleanup: Remove unused declaration of __libc_stack_end (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "public/platform/WebThread.h" 45 #include "public/platform/WebThread.h"
46 #include "public/platform/WebTraceLocation.h" 46 #include "public/platform/WebTraceLocation.h"
47 #include "wtf/DataLog.h" 47 #include "wtf/DataLog.h"
48 #include "wtf/Partitions.h" 48 #include "wtf/Partitions.h"
49 #include "wtf/ThreadingPrimitives.h" 49 #include "wtf/ThreadingPrimitives.h"
50 50
51 #if OS(WIN) 51 #if OS(WIN)
52 #include <stddef.h> 52 #include <stddef.h>
53 #include <windows.h> 53 #include <windows.h>
54 #include <winnt.h> 54 #include <winnt.h>
55 #elif defined(__GLIBC__)
56 extern "C" void* __libc_stack_end; // NOLINT
57 #endif 55 #endif
58 56
59 #if defined(MEMORY_SANITIZER) 57 #if defined(MEMORY_SANITIZER)
60 #include <sanitizer/msan_interface.h> 58 #include <sanitizer/msan_interface.h>
61 #endif 59 #endif
62 60
63 #if OS(FREEBSD) 61 #if OS(FREEBSD)
64 #include <pthread_np.h> 62 #include <pthread_np.h>
65 #endif 63 #endif
66 64
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 threadDump->addScalar("dead_count", "objects", totalDeadCount); 1507 threadDump->addScalar("dead_count", "objects", totalDeadCount);
1510 threadDump->addScalar("live_size", "bytes", totalLiveSize); 1508 threadDump->addScalar("live_size", "bytes", totalLiveSize);
1511 threadDump->addScalar("dead_size", "bytes", totalDeadSize); 1509 threadDump->addScalar("dead_size", "bytes", totalDeadSize);
1512 1510
1513 WebMemoryAllocatorDump* heapsDump = BlinkGCMemoryDumpProvider::instance()->c reateMemoryAllocatorDumpForCurrentGC(heapsDumpName); 1511 WebMemoryAllocatorDump* heapsDump = BlinkGCMemoryDumpProvider::instance()->c reateMemoryAllocatorDumpForCurrentGC(heapsDumpName);
1514 WebMemoryAllocatorDump* classesDump = BlinkGCMemoryDumpProvider::instance()- >createMemoryAllocatorDumpForCurrentGC(classesDumpName); 1512 WebMemoryAllocatorDump* classesDump = BlinkGCMemoryDumpProvider::instance()- >createMemoryAllocatorDumpForCurrentGC(classesDumpName);
1515 BlinkGCMemoryDumpProvider::instance()->currentProcessMemoryDump()->addOwners hipEdge(classesDump->guid(), heapsDump->guid()); 1513 BlinkGCMemoryDumpProvider::instance()->currentProcessMemoryDump()->addOwners hipEdge(classesDump->guid(), heapsDump->guid());
1516 } 1514 }
1517 1515
1518 } // namespace blink 1516 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698