We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599fe9c commit b76b8bdCopy full SHA for b76b8bd
ocaml/runtime/gc_ctrl.c
@@ -109,8 +109,8 @@ CAMLprim value caml_gc_counters(value v)
109
110
/* get a copy of these before allocating anything... */
111
double minwords = Caml_state->stat_minor_words
112
- + ((double) Wsize_bsize ((uintnat)Caml_state->young_end -
113
- (uintnat) Caml_state->young_ptr)) / sizeof(value);
+ + (double) Wsize_bsize ((uintnat)Caml_state->young_end -
+ (uintnat) Caml_state->young_ptr);
114
double prowords = Caml_state->stat_promoted_words;
115
double majwords = Caml_state->stat_major_words +
116
(double) Caml_state->allocated_words;
0 commit comments