Home | History | Annotate | Download | only in JavaScriptCore

Lines Matching full:heap

54         (JSC::Heap::markRoots): Mark the small strings cache last, so it can
116 Added an SPI for asking about all the different live objects on the heap.
125 (JSC::Heap::objectTypeCounts): The new SPI.
1952 <rdar://problem/7562708> REGRESSION(53460): Heap::destroy may not run
1956 (JSC::Heap::freeBlocks): Instead of fully marking protected objects,
2049 Heap::destroy. Clients of the GC protect APIs (reasonably) expect pointers
2052 The solution is to do two passes of tear-down in Heap::destroy. The first
2058 * API/JSContextRef.cpp: Removed some ASSERTs that have moved into Heap.
2061 (JSC::Heap::destroy): Moved ASSERTs to here.
2062 (JSC::Heap::freeBlock): Tidied up the use of didShrink by moving its
2064 (JSC::Heap::freeBlocks): Implemented above algorithm.
2065 (JSC::Heap::shrinkBlocks): Tidied up the use of didShrink.
2075 (JSC::Heap::destroy):
2076 (JSC::Heap::freeBlock):
2077 (JSC::Heap::freeBlocks):
2078 (JSC::Heap::shrinkBlocks):
2121 Heap::destroy. Clients of the GC protect APIs (reasonably) expect pointers
2124 The solution is to do two passes of tear-down in Heap::destroy. The first
2130 * API/JSContextRef.cpp: Removed some ASSERTs that have moved into Heap.
2133 (JSC::Heap::destroy): Moved ASSERTs to here.
2134 (JSC::Heap::freeBlock): Tidied up the use of didShrink by moving its
2136 (JSC::Heap::freeBlocks): Implemented above algorithm.
2137 (JSC::Heap::shrinkBlocks): Tidied up the use of didShrink.
2541 of a base string, they would each report the full cost of the base string to the heap.
3086 and even Heap::heap(this) will fail for fake objects created from storeVPtrs()).
3367 (JSC::Heap::Heap):
3368 (JSC::Heap::allocateBlock):
3369 (JSC::Heap::freeBlockPtr):
3877 are heap allocated, as are all UStringImpls other than static strings.
4344 Removed the number heap, replacing it with a one-item free list for
4349 heap-allocates numbers).
4361 (JSC::Heap::Heap):
4362 (JSC::Heap::destroy):
4363 (JSC::Heap::allocateBlock):
4364 (JSC::Heap::freeBlock):
4365 (JSC::Heap::freeBlockPtr):
4366 (JSC::Heap::freeBlocks):
4367 (JSC::Heap::recordExtraCost):
4368 (JSC::Heap::allocate):
4369 (JSC::Heap::resizeBlocks):
4370 (JSC::Heap::growBlocks):
4371 (JSC::Heap::shrinkBlocks):
4372 (JSC::Heap::markConservatively):
4373 (JSC::Heap::clearMarkBits):
4374 (JSC::Heap::markedCells):
4375 (JSC::Heap::sweep):
4376 (JSC::Heap::markRoots):
4377 (JSC::Heap::objectCount):
4378 (JSC::Heap::addToStatistics):
4379 (JSC::Heap::statistics):
4380 (JSC::Heap::isBusy):
4381 (JSC::Heap::reset):
4382 (JSC::Heap::collectAllGarbage):
4383 (JSC::Heap::primaryHeapBegin):
4384 (JSC::Heap::primaryHeapEnd):
4386 (JSC::): Removed all code pertaining to the number heap, and changed all
4387 heap template functions and classes to non-template functions and classes.
4389 (JSC::Heap::allocateNumber): A new optimization to replace the number
4390 heap: allocate half-sized number cells in pairs, returning the first
4401 (JSC::JSCell::isNumber): Removed all code pertaining to the number heap,
4402 and changed all heap template functions and classes to non-template functions
4449 (JSC::Heap::markConservatively):
4493 (JSC::Heap::Heap): Updated to use the new allocateBlock function.
4495 (JSC::Heap::destroy): Updated to use the new freeBlocks function.
4497 (JSC::Heap::allocateBlock): New function to initialize a block when
4500 (JSC::Heap::freeBlock): Consolidated the responsibility for running
4503 (JSC::Heap::freeBlocks): Updated to use freeBlock.
4505 (JSC::Heap::recordExtraCost): Sweep the heap in this reporting function,
4508 (JSC::Heap::heapAllocate): Run destructors right before recycling a
4511 (JSC::Heap::resizeBlocks):
4512 (JSC::Heap::growBlocks):
4513 (JSC::Heap::shrinkBlocks): New set of functions for managing the size of
4514 the heap, now that the heap doesn't maintain any information about its
4521 (JSC::Heap::markConservatively): Cleaned up this code a bit.
4523 (JSC::Heap::clearMarkBits):
4524 (JSC::Heap::markedCells): Some helper functions for examining the the mark
4527 (JSC::Heap::sweep): Simplified this function by using a DeadObjectIterator.
4529 (JSC::Heap::markRoots): Reordered some operations for clarity.
4531 (JSC::Heap::objectCount):
4532 (JSC::Heap::addToStatistics):
4533 (JSC::Heap::statistics): Rewrote these functions to calculate an object
4534 count on demand, since the heap doesn't maintain this information by
4537 (JSC::Heap::reset): New function for resetting the heap once we've
4538 exhausted heap space.
4540 (JSC::Heap::collectAllGarbage): This function matches the old collect()
4548 (JSC::Heap::reportExtraMemoryCost): Changed reporting from cell equivalents
4560 heap layout, and what's live and dead on the heap.
4565 we're fully constructed, so the heap mark phase won't visit us in an
4597 (WTF::bitCount): Added a bit population count function, so the heap can
5691 (JSC::Heap::destroy):
5692 (JSC::Heap::sweep):
8695 Removed the optional lock from Heap::protect, Heap::unprotect, and friends,
8700 (JSC::Heap::protect):
8701 (JSC::Heap::unprotect):
8702 (JSC::Heap::markProtectedObjects):
8703 (JSC::Heap::protectedGlobalObjectCount):
8704 (JSC::Heap::protectedObjectCount):
8705 (JSC::Heap::protectedObjectTypeCounts):
9045 Reduce heap size on Symbian from 64MB to 8MB.
9220 (JSC::Heap::markCurrentThreadConservatively): Force jmp_buf to use the appropriate alignment for a pointer
10055 (JSC::Heap::allocateBlock):
10056 (JSC::Heap::freeBlock):
10425 (JSC::Heap::allocateBlock): MinGW case added.
10426 (JSC::Heap::freeBlock): MinGW case added.
10597 * runtime/Collector.cpp: (JSC::Heap::registerThread): JSC API methods always call this,
10933 (JSC::Heap::markConservatively): Removed unneeded call to MarkStack::drain.
10934 (JSC::Heap::markProtectedObjects): Removed unneeded check of the mark
10936 (JSC::Heap::collect): Removed unneeded checks of the mark bit and also
10951 the assertion about the mark bit to use the Heap function directly
10956 code that reads and writes the mark bit to use Heap::isCellMarked and
10957 Heap::markCell so we can eliminate the JSCell::marked and
10965 code that reads and writes the mark bit to use Heap::isCellMarked and
10966 Heap::markCell so we can eliminate the JSCell::marked and
11217 (JSC::Heap::allocateBlock):
11349 (JSC::Heap::heap): Inlined this function because it's trivial.
11354 (JSC::Heap::destroy):
11355 (JSC::Heap::allocateBlock):
11356 (JSC::Heap::freeBlock):
11357 (JSC::Heap::freeBlocks): Renamed freeHeap to freeBlocks, since
11358 it doesn't actually free the Heap object.
11359 (JSC::Heap::heapAllocate):
11360 (JSC::Heap::sweep):
11376 (JSC::Heap::sweep):
11382 Substantially reduced VM thrash in the GC heap.
11393 (JSC::Heap::heapAllocate): Fixed a long-standing bug: update a few local
11396 sync with heap.usedBlocks).
11397 (JSC::Heap::sweep): Keep enough free heap space to accomodate
12596 (JSC::Heap::collect):
12687 EvalCodeCache::get was heap-allocating an EvalExecutable instance without adopting the initial reference.
13820 (JSC::Heap::markConservatively):
13821 (JSC::Heap::markCurrentThreadConservativelyInternal):
13822 (JSC::Heap::markCurrentThreadConservatively):
13823 (JSC::Heap::markOtherThreadConservatively):
13824 (JSC::Heap::markStackObjectsConservatively):
13825 (JSC::Heap::markProtectedObjects):
13826 (JSC::Heap::collect):
16986 (JSC::Heap::Heap):
16987 (JSC::Heap::destroy):
16988 (JSC::Heap::recordExtraCost):
16989 (JSC::Heap::heapAllocate):
16990 (JSC::Heap::markConservatively):
16991 (JSC::Heap::sweep):
16992 (JSC::Heap::collect):
16993 (JSC::Heap::objectCount):
16994 (JSC::Heap::statistics):
16996 (JSC::Heap::isBusy):
16998 (JSC::Heap::globalData):
17262 (JSC::Heap::destroy):
18949 void* JSC::Heap::heapAllocate(size_t) [with JSC::HeapType heapType = PrimaryHeap])
19134 Proposed change allocates generator objects on heap.
19208 an additional heap allocation or two for the construciton of the
19720 (JSC::Heap::collect): Add a call to JSONObject::markStringifiers.