diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /js/public/GCAPI.h | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/public/GCAPI.h')
-rw-r--r-- | js/public/GCAPI.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/js/public/GCAPI.h b/js/public/GCAPI.h index 5773838e46..a7fcee3d42 100644 --- a/js/public/GCAPI.h +++ b/js/public/GCAPI.h @@ -440,15 +440,9 @@ typedef enum JSGCParamKey { JSGC_URGENT_THRESHOLD_MB = 48, /** - * Set the number of threads to use for parallel marking, or zero to use the - * default. - * - * The actual number used is capped to the number of available helper threads. - * - * This is provided for testing purposes. + * Get the number of threads used for parallel marking. * * Pref: None. - * Default: 0 (no effect). */ JSGC_MARKING_THREAD_COUNT = 49, @@ -468,6 +462,18 @@ typedef enum JSGCParamKey { */ JSGC_SEMISPACE_NURSERY_ENABLED = 51, + /** + * Set the maximum number of threads to use for parallel marking, if enabled. + * + * The actual number used is calculated based on the number of available + * helper threads and can be found by getting the JSGC_MARKING_THREAD_COUNT + * parameter. + * + * Pref: javascript.options.mem.gc_max_parallel_marking_threads + * Default: 2. + */ + JSGC_MAX_MARKING_THREADS = 52, + } JSGCParamKey; /* |