mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Implement configuration pref for Generational Garbage Collection.
Pref: javascript.options.mem.gc_generational This resolves #20
This commit is contained in:
parent
05eb40a155
commit
935b074787
4 changed files with 20 additions and 0 deletions
|
|
@ -1768,6 +1768,9 @@ typedef enum JSGCParamKey {
|
|||
extern JS_PUBLIC_API(void)
|
||||
JS_SetGCParameter(JSContext* cx, JSGCParamKey key, uint32_t value);
|
||||
|
||||
extern JS_PUBLIC_API(void)
|
||||
JS_SetGGCMode(JSContext* cx, bool enabled);
|
||||
|
||||
extern JS_PUBLIC_API(uint32_t)
|
||||
JS_GetGCParameter(JSContext* cx, JSGCParamKey key);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue