Skip Menu |
Report information
Id: 122425
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: coke <will [at]>

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

Subject: JVM "is cached" isn't.
To: rakudobug [...]
Date: Mon, 28 Jul 2014 16:54:04 -0400
From: Will Coleda <will [...]>
Download (untitled) / with headers
text/plain 638b
There are two tests in S02-names/is_cached.t that require "is cached" to function, and not re-execute the sub. rakudo-jvm fails theses tests, doing the side effect once per invocation. S06 says: This trait is a suggestion to the compiler that caching is okay. The compiler is free to choose any kind of caching algorithm (including non-expiring, random, lru, pseudo-lru, or adaptive algorithms, or even no caching algorithm at all). So these tests are over-eagerly assuming that is cached will work in this case. Opening this ticket as a placeholder so I can fudge these for rakudo.jvm until we get a ruling. -- Will "Coke" Coleda

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

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