Mantis - Quercus
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
2185 |
|
minor |
always |
11-18-07 12:51 |
11-21-07 08:35 |
|
Reporter:
|
koreth |
Platform:
|
|
|
Assigned To:
|
ferg |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
3.1.4 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
3.1.4 |
|
|
Summary:
|
0002185: Excessive .class file access when PHP classes accessed |
Description:
|
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. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
strace.txt [^] (5,961 bytes) 11-18-07 12:51 |