-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update time statistics about stopped marking even if abandoned
Also, move logging of the message about collection abandoning to the place after the world is resumed. * alloc.c (GC_stopped_mark): Rename i local variable to abandoned_at. * alloc.c [THREADS] (GC_stopped_mark): Remove code duplication regarding GC_world_stopped, GC_on_collection_event and START_WORLD(). * alloc.c [!NO_CLOCK] (GC_stopped_mark): Update world_stopped_total_time and world_stopped_total_divisor even if marking was abandoned. * alloc.c (GC_stopped_mark): Move message about collection abandoning to be after the world is started and GET_TIME(current_time) is called.
- Loading branch information
Showing
1 changed file
with
41 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters