Closed Bug 426669 Opened 16 years ago Closed 16 years ago

Treehydra/Dehydra: Replace gczeal builtin function with require option

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: taras.mozilla)

References

Details

Attachments

(1 file)

The same semantics should be provided via an option to the require builtin with the name 'gczeal' and the argument type integer. (JS_GCZeal takes a uint8, but I'm guessing it's not worth trying to check that the argument fits in a uint8.)
Depends on: 423896
Assignee: nobody → tglek
Status: NEW → ASSIGNED
Attachment #317801 - Flags: review?(dmandelin)
(In reply to comment #1)
> Created an attachment (id=317801) [details]
> gczeal support for require

- Your test case already passes. I couldn't think of a reasonable way to reliably test this feature, so unless you can, take it out.
 
- The warning messages confused me. I'm still confused, because it turns out they don't correspond with how I've been building xhydra, namely by defining JS_GC_ZEAL in my config file, but not DEBUG. But presumably that is weird because it would only work if you had build SM with DEBUG, which you should then define again for using it. Assuming I've got that right, can I copy-edit the warnings to:

  "gczeal not enabled: xhydra built with a SpiderMonkey version lacking JS_SetGCZeal"

and
 
  "gczeal not enabled: xhydra built without -DDEBUG"

Looks good with those changes.
pushed
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 317801 [details] [diff] [review]
gczeal support for require

Cleaning up ancient review requests.
Attachment #317801 - Flags: review?(dmandelin)
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: