• vitalyr@chromium.org's avatar
    Don't share function result caches between contexts. · 559ba2cc
    vitalyr@chromium.org authored
    A reference to the caches array was embedded directly into the builtin
    code and this allowed sharing objects between contexts.
    
    Unfortunately, clearing the cache on GC won't prevent sharing so we
    either have to have per-context builtin code or load the cache
    indirectly from the current context. This change implements the second
    approach. The first approach may be interesting to consider in the
    future for some perfomance critical functions, and the current
    approach can still be improved by putting the caches directly into the
    global context (or even global objects).
    
    Review URL: http://codereview.chromium.org/1731002
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4486 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    559ba2cc
Name
Last commit
Last update
..
assembler-x64-inl.h Loading commit data...
assembler-x64.cc Loading commit data...
assembler-x64.h Loading commit data...
builtins-x64.cc Loading commit data...
codegen-x64-inl.h Loading commit data...
codegen-x64.cc Loading commit data...
codegen-x64.h Loading commit data...
cpu-x64.cc Loading commit data...
debug-x64.cc Loading commit data...
disasm-x64.cc Loading commit data...
fast-codegen-x64.cc Loading commit data...
frames-x64.cc Loading commit data...
frames-x64.h Loading commit data...
full-codegen-x64.cc Loading commit data...
ic-x64.cc Loading commit data...
jump-target-x64.cc Loading commit data...
macro-assembler-x64.cc Loading commit data...
macro-assembler-x64.h Loading commit data...
regexp-macro-assembler-x64.cc Loading commit data...
regexp-macro-assembler-x64.h Loading commit data...
register-allocator-x64-inl.h Loading commit data...
register-allocator-x64.cc Loading commit data...
register-allocator-x64.h Loading commit data...
simulator-x64.cc Loading commit data...
simulator-x64.h Loading commit data...
stub-cache-x64.cc Loading commit data...
virtual-frame-x64.cc Loading commit data...
virtual-frame-x64.h Loading commit data...