• adamk's avatar
    Optimize Object.seal and Object.preventExtensions · 4fa7ae1c
    adamk authored
    They both now run fast (due to utilizing transitions instead of always
    creating new maps) and sealed or non-extensible objects can stay in
    fast mode after transitioning.
    
    This almost entirely reuses the code for transitioning objects
    frozen by Object.freeze(), with the added benefit of freeing
    up a bit on the map (we no longer keep track of frozen-ness,
    as that bit wasn't used for anything interesting).
    
    BUG=v8:3662,chromium:115960
    LOG=y
    
    Review URL: https://codereview.chromium.org/776143005
    
    Cr-Commit-Position: refs/heads/master@{#25759}
    4fa7ae1c
Name
Last commit
Last update
..
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...