]> granicus.if.org Git - gc/commit
Rename and reorder profiling callback events (to match Mono GC API)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jun 2015 16:23:29 +0000 (19:23 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jun 2015 21:02:22 +0000 (00:02 +0300)
commit80e27455f0d863b0647797f9a712f305a888ebd4
tree46c1991cc83bc52c76af3746414a8cae218ec3e3
parent7aba59b5853330c9368bc16dd606e1617c704334
Rename and reorder profiling callback events (to match Mono GC API)

* include/gc.h (GCEventKind): Reorder events.
* include/gc.h (GCEventKind): Rename events (GC_EVENT_COLLECTION_BEGIN
to GC_EVENT_START, GC_EVENT_MARK_BEGIN to GC_EVENT_MARK_START,
GC_EVENT_COLLECTION_END to GC_EVENT_END,
GC_EVENT_STOPWORLD_BEGIN/END to GC_EVENT_PRE/POST_STOP_WORLD,
GC_EVENT_STARTWORLD_BEGIN/END to GC_EVENT_PRE/POST_START_WORLD).
* alloc.c (GC_try_to_collect_inner, start_world_inner, GC_stopped_mark,
GC_finish_collection): Likewise.
alloc.c
include/gc.h