Mantis - Quercus
Viewing Issue Advanced Details
2185 minor always 11-18-07 12:51 11-21-07 08:35
koreth  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.4  
0002185: Excessive .class file access when PHP classes accessed
When I load up all my code base's library functions (a very large number) then access a couple of PHP classes, it looks like Quercus reloads the compiled Java classes excessively. Attached is output from "strace -e trace=open" on one of Resin's threads for a single page load after a bunch of previous loads (which should presumably load up all the internal caches since the code path is the same each time.)

You will notice that it's opening the same few files repeatedly. CachedServiceManagerHandler.php and memcached_client.php both contain PHP classes; most of the rest of the code base consists of regular PHP functions, and these don't appear to get reloaded.
 strace.txt [^] (5,961 bytes) 11-18-07 12:51

Notes
(0002518)
ferg   
11-21-07 08:35   
php/3b33

The fixes are in the Resin tree, not the Pro code.