Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002185 [Quercus] minor always 11-18-07 12:51 11-21-07 08:35
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product 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.
Additional Information
Attached Files  strace.txt [^] (5,961 bytes) 11-18-07 12:51

- Relationships

- Notes
(0002518)
ferg
11-21-07 08:35

php/3b33

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

- Issue History
Date Modified Username Field Change
11-18-07 12:51 koreth New Issue
11-18-07 12:51 koreth File Added: strace.txt
11-21-07 08:35 ferg Note Added: 0002518
11-21-07 08:35 ferg Assigned To  => ferg
11-21-07 08:35 ferg Status new => closed
11-21-07 08:35 ferg Resolution open => fixed
11-21-07 08:35 ferg Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker