1 2 3 4 5 6 7 8 9 10 11
// |jit-test| allow-oom if (!('oomAfterAllocations' in this)) quit(); var du = new Debugger(); if (typeof du.drainTraceLogger == "function") { var obj = du.drainTraceLogger(); oomAfterAllocations(1); du.drainTraceLogger().length; }