Skip to content

Commit e44e80c

Browse files
committed
Sync gc_impl.h
1 parent b7f56a1 commit e44e80c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎gc/gc_impl.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ GC_IMPL_FN bool rb_gc_impl_get_measure_total_time(void *objspace_ptr);
162162
GC_IMPL_FN unsigned long long rb_gc_impl_get_total_time(void *objspace_ptr);
163163
GC_IMPL_FN size_t rb_gc_impl_gc_count(void *objspace_ptr);
164164
GC_IMPL_FN VALUE rb_gc_impl_latest_gc_info(void *objspace_ptr, VALUE key);
165+
/* A NULL objspace requests cumulative process-wide statistics. Collectors that
166+
* do not support this scope must raise NotImplementedError. */
165167
GC_IMPL_FN VALUE rb_gc_impl_stat(void *objspace_ptr, VALUE hash_or_sym);
166168
GC_IMPL_FN VALUE rb_gc_impl_stat_heap(void *objspace_ptr, VALUE heap_name, VALUE hash_or_sym);
167169
GC_IMPL_FN const char *rb_gc_impl_active_gc_name(void);

0 commit comments

Comments
 (0)