Closed Bug 1199822 Opened 10 years ago Closed 10 years ago

Assert that self-hosting is not cyclic instead of issuing a soft error

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

Details

Attachments

(1 file)

While debugging bug 1194544, I noticed that self-hosted's cloning is creating nearly 0.4 MiB of hashes, and probably doing umpteen billions of extra matches, all to provide a feature that would arguably be better as a strict assertion. Till, is this a reasonable patch? I'd think that anyone working on self hosted code should absolutely be running debug builds.
Attachment #8654385 - Flags: review?(till)
Comment on attachment 8654385 [details] [diff] [review] assert_no_cycles_in_selfhosting-v0.diff Review of attachment 8654385 [details] [diff] [review]: ----------------------------------------------------------------- It's hard to overstate how much "reasonable" is an understatement here. Thank you!
Attachment #8654385 - Flags: review?(till) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Blocks: 1200732
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: