Skip Menu |
Report information
Id: 132326
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: Potential issue with `is default` and Promises
Download (untitled) / with headers
text/plain 481b
Today we had to revert an `is default` use in Promise.pm: https://github.com/rakudo/rakudo/commit/d20e972a12 The commit caused a reproducible hang in S17-promise/lock-async-stress.t and S17-promise/lock-async-stress2.t tests while running stresstests, although when running the test files on their own, they passed (each takes ~50s to run) It's possible there's some issue in `is default` that occurs under stress. IRC: https://irclog.perlgeek.de/perl6-dev/2017-10-20#i_15330009
Download (untitled) / with headers
text/plain 460b
https://irclog.perlgeek.de/perl6-dev/2017-10-20#i_15330070 13:29 jnthn It'll probably be lazy attribute initialization 13:30 lizmat jnthn: but "is default" init isn't lazy ? 13:30 is it? 13:31 hmmm 13:31 jnthn Attribute scalar container creation is 13:31 Down in The Guts 13:31 But I'd like to kill that off 13:31 It makes every attribute access more expensive 13:32 lizmat so how would you like to fix that ? 13:32 jnthn I don't know yet.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org