ed6ac5d10f25ed8faa4ba93f8fa6645c88902a43
The code was assuming that the result of the assignment would be the value assigned, but its actually a new string containing the first character of the value assigned. The result was that the SetM had already decRef'd the rhs, and then the jitted code decRef'd it again. Since that last decRef was a decRefNZ, we would often get away with simply leaking both the original rhs and the value of the SetM. But the new testcase crashes in a DEBUG build without the fix.
HipHop VM for PHP
HipHop VM (HHVM) is a new open-source virtual machine designed for executing programs written in PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. HipHop VM (and before it HPHPc) has realized >5x increase in throughput for Facebook compared with Zend PHP 5.2.
Required Packages, and Installing and Running HipHop VM
The latest information is available on the wiki.
Contributing to HipHop VM
HipHop VM is licensed under the PHP and Zend licenses except as otherwise noted.
Before changes can be accepted a Contributors Licensing Agreement must be signed and returned.
Descrição
Linguagens
C++
59.4%
PHP
34.1%
C
4.1%
Hack
1.4%
CMake
0.3%
Outra
0.6%