• jkummerow's avatar
    Speculative fix for stack overflow in CollectEvacuationCandidates · 052924ab
    jkummerow authored
    I don't have a repro, but it seems that when we are close to the stack limit,
    CollectEvacuationCandidates' local variables can blow the limit. To avoid
    this, instead of always allocating a 2000-pointer-sizes array on the stack,
    use a std::vector (which stores its elements on the heap), and while we're
    at it, only allocate as many elements as we actually need.
    
    Review URL: https://codereview.chromium.org/1073123002
    
    Cr-Commit-Position: refs/heads/master@{#27742}
    052924ab
Name
Last commit
Last update
..
OWNERS Loading commit data...
gc-idle-time-handler.cc Loading commit data...
gc-idle-time-handler.h Loading commit data...
gc-tracer.cc Loading commit data...
gc-tracer.h Loading commit data...
heap-inl.h Loading commit data...
heap.cc Loading commit data...
heap.h Loading commit data...
incremental-marking-inl.h Loading commit data...
incremental-marking.cc Loading commit data...
incremental-marking.h Loading commit data...
mark-compact-inl.h Loading commit data...
mark-compact.cc Loading commit data...
mark-compact.h Loading commit data...
objects-visiting-inl.h Loading commit data...
objects-visiting.cc Loading commit data...
objects-visiting.h Loading commit data...
spaces-inl.h Loading commit data...
spaces.cc Loading commit data...
spaces.h Loading commit data...
store-buffer-inl.h Loading commit data...
store-buffer.cc Loading commit data...
store-buffer.h Loading commit data...