Closed Bug 1163810 Opened 10 years ago Closed 10 years ago

Use type-based dispatch for IncrementalReferenceBarrier

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Attachment #8604325 - Flags: review?(jcoppeard)
Comment on attachment 8604325 [details] [diff] [review] 28_typed_dispatch_for_incrementalreferencebarrier-v0.diff Review of attachment 8604325 [details] [diff] [review]: ----------------------------------------------------------------- Great! ::: js/src/vm/Symbol.h @@ +63,5 @@ > inline void finalize(js::FreeOp*) {} > > + static MOZ_ALWAYS_INLINE void writeBarrierPre(Symbol* thing) { > + if (thing && !thing->isWellKnownSymbol()) > + thing->asTenured().writeBarrierPre(thing); Is this just to call the version in TenuredCell? Writing |TenuredCell::writeBarrierPre(thing)| would be clearer I think. Oh, I see we do this in the other implementations too, so no big deal.
Attachment #8604325 - Flags: review?(jcoppeard) → review+
Well, try is still green, let's try this patch separately. https://treeherder.mozilla.org/#/jobs?repo=try&revision=70260d204dca
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: