Cache monitoring using shared memory
First Claim
Patent Images
1. A method, comprising:
- operating at least two worker nodes within an application server (“
AS”
) instance, each of the worker nodes providing a run-time environment for a virtual machine (“
VM”
) having a local cache, the AS instance including a network interface and a shared memory external to and shared by the network interface and the at least two worker nodes; and
for each of the VMs of the at least two worker nodes,executing a program on the VM,caching an object within the local cache of the VM, the caching by the program executing on the VM,generating by the VM, cache status information about the local cache of the VM, the cache status information indicating a status of the corresponding local cache of the VM which results from the caching of the object, andexporting the generated cache status information from the VM into the shared memory external to the VM during operation of the program.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method to monitor caches of at least one Java virtual machine (“JVM”). A program is operated on the at least one JVM. Objects associated with the program are cached within a local cache of the JVM. Cache status information about the local cache is generated and then the cache status information is reported into memory external to the JVM to enable monitoring of the local cache from external to the JVM.
-
Citations
16 Claims
-
1. A method, comprising:
-
operating at least two worker nodes within an application server (“
AS”
) instance, each of the worker nodes providing a run-time environment for a virtual machine (“
VM”
) having a local cache, the AS instance including a network interface and a shared memory external to and shared by the network interface and the at least two worker nodes; andfor each of the VMs of the at least two worker nodes, executing a program on the VM, caching an object within the local cache of the VM, the caching by the program executing on the VM, generating by the VM, cache status information about the local cache of the VM, the cache status information indicating a status of the corresponding local cache of the VM which results from the caching of the object, and exporting the generated cache status information from the VM into the shared memory external to the VM during operation of the program. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A machine-readable medium having stored thereon instructions that, if executed by a machine, will cause the machine to perform a method comprising:
-
operating at least two worker nodes within an application server (“
AS”
) instance, each of the worker nodes providing a respective run-time environment for a virtual machine (“
VM”
) having a local cache, the AS instance including a network interface and a shared memory external to and shared by the network interface and the at least two worker nodes;for each VM, executing a program on the each VM, caching an object within the local cache of the each VM, the caching by the program executing on the each VM; and generating by the each VM, cache status information about the local cache of the each VM, the cache status information indicating a status of the local cache of the each VM which results from the caching by the program executing on the each VM; and exporting the cache status information for each of the local caches from the multiple VMs into shared memory external to the multiple VMs. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A system, comprising:
-
at least two worker nodes of an application server (“
AS”
) instance, each worker node to provide an execution environment for a respective virtual machine (“
VM”
), each VM to operate a respective program, each VM including,a local cache to cache an object , wherein the program initiates the caching of the object, and a cache manager to collect cache status information indicating a status of the local cache which results from the caching of the object, the cache manager further to export the cache status information external to the VM during operation of the program; a memory buffer of the AS instance external to the worker nodes, the memory buffer to store the cache status information collected by the cache manager; a network interface of the AS instance to access the memory buffer and to retrieve the cache status information therefrom; and a monitoring console communicatively coupled to the network interface to receive the cache status information from the network interface and to display the cache status information. - View Dependent Claims (15, 16)
-
Specification