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 7bdb9fe commit 661cf78Copy full SHA for 661cf78
ChangeLog
@@ -1,3 +1,8 @@
1
+Wed Dec 18 17:03:00 2013 Koichi Sasada <ko1@atdot.net>
2
+
3
+ * gc.c (gc_profile_record_get): should return an empty array
4
+ when profiling is active.
5
6
Wed Dec 18 16:49:40 2013 Koichi Sasada <ko1@atdot.net>
7
8
* gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep().
gc.c
@@ -7000,7 +7000,7 @@ gc_profile_record_get(void)
7000
size_t i;
7001
rb_objspace_t *objspace = (&rb_objspace);
7002
7003
- if (!gc_prof_enabled(objspace)) {
+ if (!objspace->profile.run) {
7004
return Qnil;
7005
}
7006
0 commit comments