Closed Bug 729367 Opened 12 years ago Closed 12 years ago

Add additional JSCLASS_IMPLEMENTS_BARRIERS flags

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: billm, Assigned: billm)

Details

Attachments

(2 files)

We're still disabling write barriers in cases where we shouldn't.
Shell workers don't have the JSCLASS_IMPLEMENTS_BARRIERS, but that's because they don't implement write barriers. However, if we leave off the flag, then incremental GC will be disabled when we initialize workers at shell startup.

I hacked around this by putting the flag on, but immediately disabling incremental GC if workers are ever used.
Attachment #599418 - Flags: review?(jorendorff)
Attached patch fix NPAPISplinter Review
I also forgot to put the flag on some NPAPI code. I audited this code a while ago, and it didn't need any barriers.
Attachment #599419 - Flags: review?(igor)
Attachment #599419 - Flags: review?(igor) → review+
Attachment #599418 - Flags: review?(jorendorff) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: