Closed Bug 942304 Opened 11 years ago Closed 11 years ago

Avoid rooting hazard in ArrayBufferObject::neuterViews

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: sfink, Assigned: sfink)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 2 obsolete files)

Staticify!
Attachment #8337015 - Flags: review?(terrence)
Comment on attachment 8337015 [details] [diff] [review]
Avoid rooting hazard in ArrayBufferObject::neuterViews

Review of attachment 8337015 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with the one change.

::: js/src/vm/TypedArrayObject.h
@@ +197,5 @@
>  
>      /*
>       * Neuter all views of an ArrayBuffer.
>       */
> +    static bool neuterViews(Handle<ArrayBufferObject*> buffer, JSContext *cx);

|cx| still comes first.
Attachment #8337015 - Flags: review?(terrence) → review+
Attachment #8337015 - Attachment is obsolete: true
Comment on attachment 8337022 [details] [diff] [review]
Avoid rooting hazard in ArrayBufferObject::neuterViews

terrence's r+ (uploaded new patch so I can set checkin-needed)
Attachment #8337022 - Flags: review+
Keywords: checkin-needed
Attached patch Drop expectation to 10 hazards (obsolete) — Splinter Review
Attachment #8337088 - Flags: review?(terrence)
https://hg.mozilla.org/integration/mozilla-inbound/rev/46d26b2bc1f0

I'm assuming this is [leave open] until the other patch lands as well.
Keywords: checkin-needed
Whiteboard: [leave open]
Comment on attachment 8337088 [details] [diff] [review]
Drop expectation to 10 hazards

Review of attachment 8337088 [details] [diff] [review]:
-----------------------------------------------------------------

rs=me
Attachment #8337088 - Flags: review?(terrence) → review+
Comment on attachment 8337088 [details] [diff] [review]
Drop expectation to 10 hazards

(In reply to Ryan VanderMeulen [:RyanVM UTC-5][Back 2-Dec] from comment #6)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/46d26b2bc1f0
> 
> I'm assuming this is [leave open] until the other patch lands as well.

Sadly, we've suffered other regressions in the meantime (we're at 14 now), probably as a result of not dropping the expected count earlier. So I'll just obsolete the other patch here.
Attachment #8337088 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: