| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 m_persistentRegion(WTF::makeUnique<PersistentRegion>()), | 104 m_persistentRegion(WTF::makeUnique<PersistentRegion>()), |
| 105 m_startOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())), | 105 m_startOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())), |
| 106 m_endOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())), | 106 m_endOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())), |
| 107 m_safePointScopeMarker(nullptr), | 107 m_safePointScopeMarker(nullptr), |
| 108 m_atSafePoint(false), | 108 m_atSafePoint(false), |
| 109 m_interruptors(), | 109 m_interruptors(), |
| 110 m_sweepForbidden(false), | 110 m_sweepForbidden(false), |
| 111 m_noAllocationCount(0), | 111 m_noAllocationCount(0), |
| 112 m_gcForbiddenCount(0), | 112 m_gcForbiddenCount(0), |
| 113 m_mixinsBeingConstructedCount(0), | 113 m_mixinsBeingConstructedCount(0), |
| 114 #if DCHECK_IS_ON() |
| 115 m_noScriptWrappableCount(0), |
| 116 #endif |
| 114 m_accumulatedSweepingTime(0), | 117 m_accumulatedSweepingTime(0), |
| 115 m_vectorBackingArenaIndex(BlinkGC::Vector1ArenaIndex), | 118 m_vectorBackingArenaIndex(BlinkGC::Vector1ArenaIndex), |
| 116 m_currentArenaAges(0), | 119 m_currentArenaAges(0), |
| 117 m_gcMixinMarker(nullptr), | 120 m_gcMixinMarker(nullptr), |
| 118 m_shouldFlushHeapDoesNotContainCache(false), | 121 m_shouldFlushHeapDoesNotContainCache(false), |
| 119 m_gcState(NoGCScheduled), | 122 m_gcState(NoGCScheduled), |
| 120 m_threadLocalWeakCallbackStack(CallbackStack::create()), | 123 m_threadLocalWeakCallbackStack(CallbackStack::create()), |
| 121 m_isolate(nullptr), | 124 m_isolate(nullptr), |
| 122 m_traceDOMWrappers(nullptr), | 125 m_traceDOMWrappers(nullptr), |
| 123 m_invalidateDeadObjectsInWrappersMarkingDeque(nullptr), | 126 m_invalidateDeadObjectsInWrappersMarkingDeque(nullptr), |
| (...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, | 1641 collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, |
| 1639 BlinkGC::ForcedGC); | 1642 BlinkGC::ForcedGC); |
| 1640 size_t liveObjects = heap().heapStats().markedObjectSize(); | 1643 size_t liveObjects = heap().heapStats().markedObjectSize(); |
| 1641 if (liveObjects == previousLiveObjects) | 1644 if (liveObjects == previousLiveObjects) |
| 1642 break; | 1645 break; |
| 1643 previousLiveObjects = liveObjects; | 1646 previousLiveObjects = liveObjects; |
| 1644 } | 1647 } |
| 1645 } | 1648 } |
| 1646 | 1649 |
| 1647 } // namespace blink | 1650 } // namespace blink |
| OLD | NEW |