• deanm@chromium.org's avatar
    Improve mark-compact object grouping interface. · 6297a191
    deanm@chromium.org authored
    The main goal was to improve O(n^2) behavior when there are many object groups.  The old API required the grouping to be done on the v8 side, along with a linear search.  The new interface requires the caller to do the grouping, passing V8 entire groups at a time.  This removes the group id concept on the v8 side.
    
      - Changed AddObjectToGroup to AddObjectGroup.
      - Removed the group id concept from the V8 side.
      - Remove a static constructor while I'm here, lazily initialize
        the object groups list.
      - Cleaned up return by non-const references to return pointers.
    
    Review URL: http://codereview.chromium.org/13341
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@965 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    6297a191
Name
Last commit
Last update
..
SConscript Loading commit data...
cctest.cc Loading commit data...
cctest.h Loading commit data...
cctest.status Loading commit data...
test-alloc.cc Loading commit data...
test-api.cc Loading commit data...
test-assembler-arm.cc Loading commit data...
test-assembler-ia32.cc Loading commit data...
test-ast.cc Loading commit data...
test-compiler.cc Loading commit data...
test-conversions.cc Loading commit data...
test-debug.cc Loading commit data...
test-decls.cc Loading commit data...
test-disasm-arm.cc Loading commit data...
test-disasm-ia32.cc Loading commit data...
test-flags.cc Loading commit data...
test-hashmap.cc Loading commit data...
test-heap.cc Loading commit data...
test-lock.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-platform-linux.cc Loading commit data...
test-platform-macos.cc Loading commit data...
test-platform-nullos.cc Loading commit data...
test-platform-win32.cc Loading commit data...
test-regexp.cc Loading commit data...
test-serialize.cc Loading commit data...
test-spaces.cc Loading commit data...
test-strings.cc Loading commit data...
test-utils.cc Loading commit data...
testcfg.py Loading commit data...