Patent ID: 7454740

Claim:
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.