# New Ticket Created by  Ben Noordhuis 
# Please include the string:  [perl #126395]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126395 >


$ perl6 --version
This is perl6 version 2015.09-419-gfae01fb built on MoarVM version
2015.09-79-gee9fc2b

$ perl6 -e 'my @a := (); @a[0] := ()'
# hangs, no output

It doesn't seem to matter what @a or @a[0] are bound to, e.g. `my @a
:= <a b c>; @a[0] := 42` behaves the same.  I see the same behavior at
every --optimize level and when := is replaced with ::=.

`perf top` reports that the process spends ~60% of its time in
MVM_gc_root_add_frame_roots_to_worklist.  RSS grows by 10s of
MB/second.  Guesswork but I suspect it's some kind of cycle?

Apologies if this has been reported before.  A search of the bug
tracker didn't turn up anything that looked like this issue.

Reply via email to