Ignore:
Timestamp:
Nov 20, 2002, 1:34:02 AM (23 years ago)
Author:
mjs
Message:

JavaScriptCore:

Rewrote garbage collector to make blocks of actual memory instead
of blocks of pointers. 7% improvement on JavaScript
iBench. There's still lots of room to tune the new GC, this is
just my first cut.

  • kjs/collector.cpp: (Collector::allocate): (Collector::collect): (Collector::size): (Collector::outOfMemory): (Collector::finalCheck): (Collector::numGCNotAllowedObjects): (Collector::numReferencedObjects): (Collector::liveObjectClasses):
  • kjs/collector.h:
  • kjs/function.cpp: (ActivationImp::ActivationImp):
  • kjs/function.h:

WebCore:

  • force-js-clean-timestamp: Work around PB lameness yet again.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/function.cpp

    r2778 r2779  
    342342  Value protect(this);
    343343  arguments = new ArgumentsImp(exec,f, args);
     344  arguments->setGcAllowed();
    344345  put(exec, argumentsPropertyName, Object(arguments), Internal|DontDelete);
    345 }
    346 
    347 ActivationImp::~ActivationImp()
    348 {
    349   arguments->setGcAllowed();
    350346}
    351347
Note: See TracChangeset for help on using the changeset viewer.