Re: Re: Windows OpCache bug fix
| From: | Pierre Joye | Date: | Thu, 01 Oct 2015 06:25:28 +0000 |
| Subject: | Re: Re: Windows OpCache bug fix | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88591@lists.php.net to get a copy of this message | ||
On Oct 1, 2015 3:59 AM, "Dmitry Stogov" <dmitry@zend.com> wrote:
>
> Hi Matt,
>
> Thanks for looking into the problem, but I afraid that the proposed
> solution won't solve the problem completely, but may introduce new
> problems. At first, we might to reserve N times more memory. Then
different
> SHM segments might contain different data. opcache_reset(),
> opcache_invalidate() and others will affect only one segment.
>
> I think the perfect solution would require converting all stored data in
> position independent format, but this hardly ever is going to be done even
> for php-8.
>
> We may fallback to use file-cache introduced in php-7. (this should work
> out of the box or with minimal changes).
>
> Also. if we can't map SHM into desired address space, we may map it in any
> other address and copy data into the process memory similar to file-cache.
And what wincache does. It is slower but the request is served.
> Finally we may try to use /DYNAMICBASE:NO