| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |