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

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

Issue 2684633004: Remove orphaned pages from Oilpan (Closed)
Patch Set: temp Created 3 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
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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 602
603 void runScheduledGC(BlinkGC::StackState); 603 void runScheduledGC(BlinkGC::StackState);
604 604
605 void eagerSweep(); 605 void eagerSweep();
606 606
607 #if defined(ADDRESS_SANITIZER) 607 #if defined(ADDRESS_SANITIZER)
608 void poisonEagerArena(); 608 void poisonEagerArena();
609 void poisonAllHeaps(); 609 void poisonAllHeaps();
610 #endif 610 #endif
611 611
612 void cleanupPages(); 612 void removeAllPages();
613 613
614 void prepareForThreadStateTermination(); 614 void prepareForThreadStateTermination();
615 615
616 void invokePreFinalizers(); 616 void invokePreFinalizers();
617 617
618 void takeSnapshot(SnapshotType); 618 void takeSnapshot(SnapshotType);
619 void clearArenaAges(); 619 void clearArenaAges();
620 int arenaIndexOfVectorArenaLeastRecentlyExpanded(int beginArenaIndex, 620 int arenaIndexOfVectorArenaLeastRecentlyExpanded(int beginArenaIndex,
621 int endArenaIndex); 621 int endArenaIndex);
622 622
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 class ThreadStateFor<AnyThread> { 734 class ThreadStateFor<AnyThread> {
735 STATIC_ONLY(ThreadStateFor); 735 STATIC_ONLY(ThreadStateFor);
736 736
737 public: 737 public:
738 static ThreadState* state() { return ThreadState::current(); } 738 static ThreadState* state() { return ThreadState::current(); }
739 }; 739 };
740 740
741 } // namespace blink 741 } // namespace blink
742 742
743 #endif // ThreadState_h 743 #endif // ThreadState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/PersistentNode.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698