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
10993 10993
                         C(ARY_SHARED_P(obj), "S"),
10994 10994
                         (int)RARRAY_LEN(obj));
10995 10995
            }
10996
            else if (FL_TEST(obj, RARRAY_SHARED_ROOT_FLAG)) {
10997
                snprintf(buff, buff_size, "%s len: %d, shared_num:%d ptr:%p", buff,
10998
                         (int)RARRAY_LEN(obj),
10999
                         (int)RARRAY(obj)->as.heap.aux.shared_num,
11000
                         (void *)RARRAY_CONST_PTR_TRANSIENT(obj));
11001
            }
10996 11002
            else {
10997 11003
                snprintf(buff, buff_size, "%s [%s%s%s] len: %d, capa:%d ptr:%p", buff,
10998 11004
                         C(ARY_EMBED_P(obj),  "E"),