Thread monitoring using shared memory
AssigneeSap SE
InventorsJan Dostert, Christian Fleischer, Frank Kilian, Petio Petev, Randolf Werner
Life of this patent
Estimating the term…
Abstract
A system and method to monitor worker threads within a Java virtual machine. At least one program is executed on the Java virtual machine to perform a task. A worker thread of the Java virtual machine is assigned to perform the task. Status information for the worker thread is generated and reported into memory external to the Java virtual machine to enable monitoring of the worker thread from external to the Java virtual machine.
Claims20
A computer-implemented method, comprising:
- executing at least one program on a Java virtual machine (“JVM”) to perform a task;
- assigning a worker thread to the task;
- generating status information about the worker thread;
- and
- reporting the status information into memory external to the JVM to enable monitoring of the worker thread from external to the JVM.
A machine-accessible medium that provides instructions that, if executed by a machine, will cause the machine to perform operations comprising:
- executing tasks by at least two Java virtual machines (“JVMs”) within an application server (“AS”) instance to service work requests received by the AS instance;
- assigning worker threads to the tasks to store placeholder information associated with each of the tasks;
- generating status information about each of the worker threads;
- and
- storing the status information about each of the worker threads into shared memory external to the JVMs during operation of the JVMs.
A system, comprising:
- a server node to execute an application server (“AS”) instance, the AS instance including logic executable by a processor of the server node to:
- execute tasks by at least two Java virtual machines (“JVMs”) within the AS instance to service work requests received by the AS instance;
- assign worker threads to the tasks to store placeholder information associated with each of the tasks;
- generate status information about each of the worker threads;
- and
- report the status information about each of the worker threads into shared memory external to the JVMs during operation of the JVMs.
Dependencies are inferred from the claim text.