aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 3c1c15e3b1..d98241bcc1 100644
--- a/gc.c
+++ b/gc.c
@@ -509,6 +509,7 @@ typedef struct rb_objspace {
mark_stack_t mark_stack;
struct {
int run;
+ int latest_gc_info;
gc_profile_record *records;
gc_profile_record *current_record;
size_t next_index;
@@ -550,7 +551,6 @@ typedef struct rb_objspace {
size_t count;
size_t total_allocated_object_num;
size_t total_freed_object_num;
- int latest_gc_info;
} profile;
struct gc_list *global_list;
rb_event_flag_t hook_events; /* this place may be affinity with memory cache */