Project

General

Profile

Feature #15833 » 0003-Fix-object-info-of-shared-root-array.patch

wanabe (_ wanabe), 05/06/2019 10:02 AM

View differences:

gc.c
C(ARY_SHARED_P(obj), "S"),
(int)RARRAY_LEN(obj));
}
else if (FL_TEST(obj, RARRAY_SHARED_ROOT_FLAG)) {
snprintf(buff, buff_size, "%s len: %d, shared_num:%d ptr:%p", buff,
(int)RARRAY_LEN(obj),
(int)RARRAY(obj)->as.heap.aux.shared_num,
(void *)RARRAY_CONST_PTR_TRANSIENT(obj));
}
else {
snprintf(buff, buff_size, "%s [%s%s%s] len: %d, capa:%d ptr:%p", buff,
C(ARY_EMBED_P(obj), "E"),
(3-3/3)