Closed Bug 470735 Opened 16 years ago Closed 14 years ago

new Number() is not traced: "can't trace native constructor"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: perf, testcase)

for (var i = 0; i < 500000; ++i) { new Number(1); }

10% slower with JIT enabled; recorder starts and aborts 13 times.

TRACEMONKEY=verbose: "abort: 6167: can't trace native constructor"
Doesn't abort anymore and is faster than interpreter (58 ms for -j and -m, 94 ms for interpreter)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.