Re: persistent java virtual machine under PHP
| From: | Maróy Ákos | Date: | Thu, 05 Dec 2002 18:29:24 +0000 |
| Subject: | Re: persistent java virtual machine under PHP | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92136@lists.php.net to get a copy of this message | ||
Tony J. White wrote:
Actually, the JVM is unloaded by php. In the latest CVS the code from destroy_jvm() has been removed that tried to dlclose() the JVM. This was done because it is impossible to dlclose() a JVM because DestroyJavaVM() is broken in all JNI implementations.I see. But if you dlclose()-it, what happens to open resources, like open file descriptors, network sockets, etc? It seems to be a crude way of unloading the JVM... Akos