com php-src: Add Note about huge_code_pages: UPGRADING
| From: | Xinchen Hui | Date: | Tue, 15 Sep 2015 15:28:32 +0000 |
| Subject: | com php-src: Add Note about huge_code_pages: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89034@lists.php.net to get a copy of this message | ||
Commit: a261938d50fb404c91988b5ae419010ffebed281
Author: Xinchen Hui <laruence@gmail.com> Tue, 15 Sep 2015 08:28:32 -0700
Parents: 517c59bfcb6f94d606f0bce74f491035c14ada27
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a261938d50fb404c91988b5ae419010ffebed281
Log:
Add Note about huge_code_pages
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index f75f977..7d4ccca 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -532,7 +532,8 @@ Other
. Closure::call() method added (works only with userland classes).
. Added \u{xxxxxx} Unicode Codepoint Escape Syntax for double-quoted strings
and heredocs.
- . define() now supports arrays as constant values, fixing an oversight where define() did not
support arrays yet const syntax did.
+ . define() now supports arrays as constant values, fixing an oversight where
+ define() did not support arrays yet const syntax did.
. Added the comparison operator (<=>), aka the spaceship operator.
(RFC: https://wiki.php.net/rfc/combined-comparison-operator)
. Added the yield from operator for delegating Generators like coroutines.
@@ -553,6 +554,11 @@ Other
without SHM at all, using opcache.file_cache_only=1 (this may be useful for
sharing hosting), and disable file cache consistency check, to speedup
loading at the cost of safety, using opcache.file_cache_consistency_checks=0.
+ . Added an experemental ability to move PHP code pages (PHP TEXT segment) into
+ HUGE pages. To enable it, PHP should be configured and built with
+ --enable-huge-code-pages, OS should be configured to provide huge pages.
+ It's possible to enable/disable this feature in php.ini through
+ opcache.huge_code_pages=0/1.
- OpenSSL
. Added "alpn_protocols" SSL context option allowing encrypted client/server