摘要 |
A method, which may be initiated in response to a virtual machine crash, for processing core data produced by a computer process to identify data relevant to the computer process. Core data 401 and trace file 402 are identified. A predetermined number of most recent entries in the trace data are selected in turn 403. References to a memory address, such as a pointer, in each selected trace data entry are identified and dereferenced. Data is extracted from the dereferenced memory location in the core data (404) and may be added to a summary core dump file which may be output 409. The process may be repeated 406, for each thread 407, where multi-threading is used. The dereferencing may be limited to a predetermined depth of references. The process may also include identifying register data, memory addresses or pointers therein and dereferencing those to extract core data (408). Extracting data might include marking the data in a core file. |