Closed Bug 649593 Opened 14 years ago Closed 14 years ago

TI+JM: v8 benchmark harness correctness bug

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(2 files)

Attached file Testcase
Attached testcase demonstrates the problem. It fails with -m -n -a: test.js:20: Error: Assertion failed: got 0, expected 6326624
Reduced further: -- function RunSingleBenchmark(data) { if (data == null) return { runs: 0, elapsed: 0 }; data.runs += 10; return data; } var data; data = RunSingleBenchmark(data); data = RunSingleBenchmark(data); assertEq(data.runs, 10); --
Cannot be reproduced on 64 bit, seems to be a 32 bit only problem. Jan suggested it might be related to register allocation.
Hardware: All → x86
Attached patch PatchSplinter Review
Use stubcc.masm to load atom pointer for OOL SetName call.
Assignee: general → jandemooij
Status: NEW → ASSIGNED
Attachment #525646 - Flags: review?(bhackett1024)
Comment on attachment 525646 [details] [diff] [review] Patch Oops. At least I remembered to store the atom at all!
Attachment #525646 - Flags: review?(bhackett1024) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: