You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6539 Reporter: drichman Assigned to:@diml Status: closed (set by @xavierleroy on 2016-12-07T10:34:40Z) Resolution: fixed Priority: normal Severity: minor Version: 4.02.0+beta1 / +rc1 Fixed in version: 4.02.1+dev Category: runtime system and C interface
Bug description
Major heap increment is now stored in words or percent
extern uintnat caml_major_heap_increment; /* percent or words; see major_gc.c */
However, in caml_gc_get, the major heap increment is still divided by 8:
Store_field (res, 1,Val_long(Wsize_bsize(caml_major_heap_increment)));/* i */
The text was updated successfully, but these errors were encountered:
let print x = print_int x; print_newline ()
let control = Gc.get ()
let () = print control.Gc.major_heap_increment
let () = Gc.set control
let () = print (Gc.get ()).Gc.major_heap_increment
let () = Gc.set { control with major_heap_increment = 40960 }
let () = print (Gc.get ()).Gc.major_heap_increment
Original bug ID: 6539
Reporter: drichman
Assigned to: @diml
Status: closed (set by @xavierleroy on 2016-12-07T10:34:40Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.0+beta1 / +rc1
Fixed in version: 4.02.1+dev
Category: runtime system and C interface
Bug description
Major heap increment is now stored in words or percent
However, in caml_gc_get, the major heap increment is still divided by 8:
The text was updated successfully, but these errors were encountered: