| CPC G06F 12/0253 (2013.01) | 20 Claims |

|
1. A garbage collection analysis method performed in a computing system, the computing system configured with a designation data structure which designates an analysis as corresponding to a performance problem signal, the method comprising automatically:
during an execution of a process, measuring garbage collection performance and getting an event indicating that a garbage collection of memory of the process has ended;
during the execution, detecting in performance data of the garbage collection an instance of the performance problem signal;
during the execution, and in response to detecting the instance of the performance problem signal, conducting a constrained tracing of the process, including changing a trace data collection status by enabling collecting of trace data in a trace data category, collecting the trace data, and then in response to a trace stop trigger changing the trace data collection status by disabling collecting of trace data in the trace data category, the trace data category and the trace stop trigger each designated in the computing system as corresponding to the performance problem signal;
submitting the trace data to an analysis which includes a garbage collection analysis;
obtaining a result of the analysis; and
in response to the result of the analysis, implementing a performance optimization action.
|