• Anisha Rohra's avatar
    s390/PPC: Remove weak-list of optimized JS functions. · 1902b5a9
    Anisha Rohra authored
    Port f0acede9
    
    This CL removes the weak-list of JS functions from the context
    and all the code that iterares over it. This list was being used
    mainly during deoptimization (for code unlinking) and during
    garbage collection. Removing it will improve performance of
    programs that create many closures and trigger many scavenge GC
    cycles.
    
    No extra work is required during garbage collection. However,
    given that we no longer unlink code from JS functions during
    deoptimization, we leave it as it is, and on its next activation
    we check whether the mark_for_deoptimization bit of that code is
    set, and if it is, than we unlink it and jump to lazy compiled
    code. This check happens in the prologue of every code object.
    
    We needed to change/remove the cctests that used to check
    something on this list.
    
    R=bjaideep@ca.ibm.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I8007a837d43b6a339789cfd727e81ad7f4ac3ae1
    Reviewed-on: https://chromium-review.googlesource.com/651891Reviewed-by: 's avatarJaideep Bajwa <bjaideep@ca.ibm.com>
    Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#47840}
    1902b5a9
macro-assembler-ppc.cc 102 KB