General

Profile

wks (Kunshan Wang)

  • Login: wks
  • Registered on: 03/22/2022
  • Last sign in: 08/28/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Like

Activity

08/08/2023

10:37 AM Ruby master Feature #19783: Weak References in the GC
An alternative to recording the weak reference **fields** during tracing is recording the **objects** that contain we... wks (Kunshan Wang)

08/03/2023

06:52 PM Ruby master Revision 132f0971 (git): No computing embed_capa_max in str_subseq
Fix str_subseq so that it does not attempt to predict the size of the
object returned by str_alloc_heap.
wks (Kunshan Wang)
12:34 PM Ruby master Revision aeff3116 (git): No computing embed_capa_max in ary_make_partial
ary_make_partial now uses the actual embed_capa of an allocated heap
array to guide whether make an embedded copy or ...
wks (Kunshan Wang)

07/20/2023

06:17 PM Ruby master Revision 639aa76e (git): Embed struct rmatch into GC slot (#8097)
wks (Kunshan Wang)

06/18/2023

06:55 AM Ruby master Bug #19701: The rb_classext_t::classpath field is not marked for T_ICLASS
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> There is a third option, set "FrozenCore" as an fstring that doesn't...
wks (Kunshan Wang)

05/31/2023

06:26 AM Ruby master Bug #19701 (Open): The rb_classext_t::classpath field is not marked for T_ICLASS
I am hacking Ruby to dump information about some objects, and I found that the `rb_classext_t::classpath` field for `... wks (Kunshan Wang)

05/15/2023

06:12 AM Ruby master Revision c7067ed1 (git): Use the rb_sys_fail_str macro in signal.c
Let signal.c include "internal/error.h" explicitly to ensure that the
identifier rb_sys_fail_str in signal.c refers t...
wks (Kunshan Wang)
04:37 AM Ruby master Bug #19635: errno may be overwritten by rb_sprintf if it triggers GC
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Applied in changeset commit:git|e3385f87831f036eaba96558cb4d83c8d5c43901...
wks (Kunshan Wang)

05/10/2023

04:06 AM Ruby master Bug #19635 (Closed): errno may be overwritten by rb_sprintf if it triggers GC
Here is an excerpt in the `trap` function in `signal.c`
``` c
oldfunc = ruby_signal(sig, func);
...
wks (Kunshan Wang)

01/31/2023

02:24 PM Ruby master Revision de724487 (git): Copying GC support for EXIVAR
Instance variables held in gen_ivtbl are marked with rb_gc_mark. It
prevents the referenced objects from moving, whi...
wks (Kunshan Wang)

Also available in: Atom