| 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 | 604 |
| 605 void runScheduledGC(BlinkGC::StackState); | 605 void runScheduledGC(BlinkGC::StackState); |
| 606 | 606 |
| 607 void eagerSweep(); | 607 void eagerSweep(); |
| 608 | 608 |
| 609 #if defined(ADDRESS_SANITIZER) | 609 #if defined(ADDRESS_SANITIZER) |
| 610 void poisonEagerArena(); | 610 void poisonEagerArena(); |
| 611 void poisonAllHeaps(); | 611 void poisonAllHeaps(); |
| 612 #endif | 612 #endif |
| 613 | 613 |
| 614 void cleanupPages(); | 614 void removeAllPages(); |
| 615 | 615 |
| 616 void prepareForThreadStateTermination(); | 616 void prepareForThreadStateTermination(); |
| 617 | 617 |
| 618 void invokePreFinalizers(); | 618 void invokePreFinalizers(); |
| 619 | 619 |
| 620 void takeSnapshot(SnapshotType); | 620 void takeSnapshot(SnapshotType); |
| 621 void clearArenaAges(); | 621 void clearArenaAges(); |
| 622 int arenaIndexOfVectorArenaLeastRecentlyExpanded(int beginArenaIndex, | 622 int arenaIndexOfVectorArenaLeastRecentlyExpanded(int beginArenaIndex, |
| 623 int endArenaIndex); | 623 int endArenaIndex); |
| 624 | 624 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 class ThreadStateFor<AnyThread> { | 736 class ThreadStateFor<AnyThread> { |
| 737 STATIC_ONLY(ThreadStateFor); | 737 STATIC_ONLY(ThreadStateFor); |
| 738 | 738 |
| 739 public: | 739 public: |
| 740 static ThreadState* state() { return ThreadState::current(); } | 740 static ThreadState* state() { return ThreadState::current(); } |
| 741 }; | 741 }; |
| 742 | 742 |
| 743 } // namespace blink | 743 } // namespace blink |
| 744 | 744 |
| 745 #endif // ThreadState_h | 745 #endif // ThreadState_h |
| OLD | NEW |