Patent ID: 9152535
Filing Date: 2015-10-06
Classification: G06F

Abstract:
1. A computer-implemented process for identification of a root method for a thread, the computer-implemented process comprising: instrumenting code to form instrumented code; executing threads of the instrumented code; creating stack sample data that summarizes stack usage across a plurality of threads; creating method stack sample data that summarizes stack usage across a plurality of the stack sample data, the creating method stack sample data is in response to determining that more than a threshold number of stack sample data have been created, the method stack sample data including a number of times that a highest stack pointer value is contained in the stack sample data; determining whether a root method is identified, the determining comprising comparing the number of time that the highest stack pointer value is contained in the stack sample data to a threshold value; reporting any root method identified for a respective thread; and creating thread sample data as input to the creating stack sample data in a case that thread samples are provided, wherein the creating stack sample data is performed in a case that thread samples are not provided and in a case that a number of the thread samples exceeds a thread sample threshold number.