Ignore:
Timestamp:
May 6, 2015, 9:50:19 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r183847.
https://bugs.webkit.org/show_bug.cgi?id=144691

Caused many assertion failures (Requested by ap on #webkit).

Reverted changeset:

"GC has trouble with pathologically large array allocations"
https://bugs.webkit.org/show_bug.cgi?id=144609
http://trac.webkit.org/changeset/183847

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r183847 r183872  
    448448static EncodedJSValue JSC_HOST_CALL functionFullGC(ExecState*);
    449449static EncodedJSValue JSC_HOST_CALL functionEdenGC(ExecState*);
    450 static EncodedJSValue JSC_HOST_CALL functionHeapSize(ExecState*);
    451450static EncodedJSValue JSC_HOST_CALL functionDeleteAllCompiledCode(ExecState*);
    452451#ifndef NDEBUG
     
    587586        addFunction(vm, "fullGC", functionFullGC, 0);
    588587        addFunction(vm, "edenGC", functionEdenGC, 0);
    589         addFunction(vm, "gcHeapSize", functionHeapSize, 0);
    590588        addFunction(vm, "deleteAllCompiledCode", functionDeleteAllCompiledCode, 0);
    591589#ifndef NDEBUG
     
    834832    JSLockHolder lock(exec);
    835833    exec->heap()->collectAllGarbage();
    836     return JSValue::encode(jsNumber(exec->heap()->sizeAfterLastFullCollection()));
     834    return JSValue::encode(jsUndefined());
    837835}
    838836
     
    841839    JSLockHolder lock(exec);
    842840    exec->heap()->collect(FullCollection);
    843     return JSValue::encode(jsNumber(exec->heap()->sizeAfterLastFullCollection()));
     841    return JSValue::encode(jsUndefined());
    844842}
    845843
     
    848846    JSLockHolder lock(exec);
    849847    exec->heap()->collect(EdenCollection);
    850     return JSValue::encode(jsNumber(exec->heap()->sizeAfterLastEdenCollection()));
    851 }
    852 
    853 EncodedJSValue JSC_HOST_CALL functionHeapSize(ExecState* exec)
    854 {
    855     JSLockHolder lock(exec);
    856     return JSValue::encode(jsNumber(exec->heap()->size()));
     848    return JSValue::encode(jsUndefined());
    857849}
    858850
Note: See TracChangeset for help on using the changeset viewer.