diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index 4149e3908708..370b7c482bbc 100644 --- a/js/src/gc/GCRuntime.h +++ b/js/src/gc/GCRuntime.h @@ -155,9 +155,9 @@ class GCSchedulingTunables ActiveThreadData gcMaxNurseryBytes_; /* - * The base value used to compute zone->trigger.gcBytes(). When - * usage.gcBytes() surpasses threshold.gcBytes() for a zone, the zone may - * be scheduled for a GC, depending on the exact circumstances. + * The base value used to compute zone->threshold.gcTriggerBytes(). When + * usage.gcBytes() surpasses threshold.gcTriggerBytes() for a zone, the + * zone may be scheduled for a GC, depending on the exact circumstances. */ ActiveThreadOrGCTaskData gcZoneAllocThresholdBase_;