During stack unwinding, stack trace information relating to one or more stack frames may be stored in cache memory. Subsequent exceptions can access and copy the cached stack trace information instead of rewinding additional frames in the runtime call stack. An indicator may…
Gansha Wu
A method, system, and apparatus are described for inlining using stack trace cache. According to one embodiment, whether a last stack frame of a stack frame trace is not cached is determined, and if the last stack frame is not cached, a caller-callee relationship is recorded,…
Apparatus and methods for desynchronizing object-oriented software applications in managed runtime environments are disclosed. Apparatus and methods for desynchronizing synchronized program code determine a type of the program code during just-in-time compilation of the program…
Apparatus and methods for restoring synchronization to object-oriented software applications in managed runtime environments are disclosed. The disclosed apparatus and methods determine if a class object has been dynamically loaded, perform an escape analysis on the program code…
Methods and apparatus for identifying a type of a software object are disclosed. The methods and apparatus encode data associated with the software object based at least in part on the type of the software object and compare the encoded data with a value associated with a target…
In one embodiment, the present invention includes a method for storing a method bundle in code which may include method metadata and a cookie indicator to indicate the presence of method information. After such storage, a query may be performed to search for the method bundle…
An arrangement is provided for using a stack trace cache when performing root set enumeration in a stack of a thread during garbage collection. During the first root set enumeration in the stack, full stack unwinding may be performed and a stack trace cache may be created to…
Methods and apparatus to reference thread-local variables in a runtime system are disclosed. A disclosed method allocates a first node, stores a value in a thread-local variable field in the first node, and identifies a second node in a data structure allocated by a runtime…
Apparatus and methods for performing generational escape analysis in managed runtime environments are disclosed. The disclosed apparatus and methods determine the generational age of an equivalence class while performing escape analysis. Equivalence classes having generational…
Methods and apparatus to analyze escape analysis of an application are described herein. In an example method, one or more methods associated with a violating condition of the application are identified. The one or more methods are parsed into at least one equivalence class. A…