摘要 |
<p>A method and system for operating a modified JAVA Virtual Machine (JVM) which is able to simultaneously host multiple JAVA application programs, are disclosed. The JVM is modified to maintain a computer record of one or more application domains, each having one or more classes. For each application domain a first utilization count of the total memory volume in bytes occupied by all allocated instances of the application class, is maintained. Preferably this count is incremented with each new instance of an application class, and decremented during or alter each garbage collection event which reclaims allocated application classes</p> |