Re: FYI, non-locked cache value being modified
| From: | Gopal V | Date: | Wed, 25 Oct 2006 06:48:54 +0000 |
| Subject: | Re: FYI, non-locked cache value being modified | ||
| Groups: | php.apc.dev | ||
| Request: | Send a blank email to php-apc-dev+get-18@lists.php.net to get a copy of this message | ||
(I didn't actually get this mail ... but first things first)
That code is a known breakage. Sara made the include_once_override
as disabled by default in the last release.
I haven't meddled in the optimization area because Ilia is rewriting
it anyway (hint: run without it till then). And one of the intentions
of putting the deep_copy flag in the op_array reserved section was to
let such code figure out whether the op_array is in shm or local mem,
to do such "stuff".
If you want to debug this further, I have a patched valgrind which
lets me log memory writes [1].
Cheers,
Gopal
[1] - http://t3.dotgnu.info/code/valgrind-watchpoints.patch
--
The difference between insanity and genius is measured by success