Hi!

> Consequences
>  - If script executes session_commit()/session_destroy()/use read only
> option, PHP will not perform GC. i.e. GC function is not called at
> all. Therefore, probability of GC decreases and GC becomes less
> likely.
>  - If script uses multiple session storage, only the last session
> storage performs GC. i.e. Previously used session storage may not call
> GC function at all if this is done for site wide.
>  - User will not see occasional page rendering delay by GC. (This is
> the main reason of this change)

This doesn't look very good. This has potential to break GC for some
applications, especially high-performance ones which are likely to use
read-only mode, and thus for them GC is needed.

I also don't understand why you need this to avoid delay. Right now GC
is performed on shutdown, doesn't it? If it's performed on shutdown, it
would not delay rendering. I'm not sure I understand why you need to
condition this on session being active or not active. Please explain.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to