Back to results
US 7,454,740 B1Granted
Method and apparatus for caching predicates in a tracing framework
AssigneeSun Microsystems, Inc.
InventorBryan M. Cantrill
Life of this patent
Estimating the term…
Abstract
A method for caching in a tracing framework, including firing a probe associated with a thread, evaluating a first predicate of the probe, caching the first predicate in a predicate cache associated with the thread, based on the evaluating of the first predicate and cacheability of the first predicate, and transferring control to the thread, based on the caching.
Claims26
A method for caching in a tracing framework, comprising:
- firing a probe associated with a thread;
- evaluating a first predicate of the probe to determine a first Boolean value, wherein the first Boolean value is false;
- determining that the first predicate is cacheable, wherein the first predicate is cacheable when it is the first predicate is referencing on selected from a group consisting of an immutable variable and a thread-specific variable;
- identifying the first predicate using a predicate cache identifier;
- storing the, predicate cache identifier with the probe as a probe cache identifier;
- caching the first Boolean value and the predicate cache identifier in a predicate cache associated with the thread, based on the first Boolean value being false and the first predicate being cacheable the evaluating of the flint predicate and cacheability of the first predicate;
- and
- transferring control to the thread, based on the caching.
5 more elements
A computer system for caching in a tracing framework comprising:
- a processor;
- a memory;
- a storage device;
- and
- software instructions stored in memory for enabling the computer system to:
- fire a probe associated with a thread;
- evaluate a predicate of the probe to determine a Boolean value, wherein the Boolean value is false;
- determine that the predicate is cacheable, wherein the predicate is cacheable when is the predicate is predicate is referencing one selected from a group consisting of an immutable variable and a thread-specific variable;
- identify the predicate using a predicate cache identifier;
- store the predicate cache identifier with the probe as a probe cache identifier;
- cache Boolean value and the predicate cache identifier in a predicate cache associated with the thread, based on tile Boolean value being false and the predicate being cacheable;
- and
- transfer control to the thread, based on the caching.
10 more elements
Dependencies are inferred from the claim text.