×

Accessing damaged heaps using combined linear heap slot based and object graph walking

  • US 10,365,963 B2
  • Filed: 01/16/2017
  • Issued: 07/30/2019
  • Est. Priority Date: 01/16/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • generating a core dump responsive to an occurrence of an event in a run-time environment, wherein the core dump specifies contents of a heap at a moment in time that the event occurred, wherein the heap includes one or more slots, and wherein each slot of the one or more slots contains a respective one or more objects;

    selectively processing the contents of the heap of the core dump, using an analysis application and by operation of one or more computer processors, using one of a plurality of heap analysis methods, comprising;

    analyzing the contents of the heap specified by the core dump using a first heap analysis method of the plurality of heap analysis methods, at a first starting point in the heap, wherein the first heap analysis method comprises analyzing a linear representation of the heap; and

    responsive to determining that a first slot is not reachable using the first heap analysis method;

    determining a second starting point in the heap; and

    analyzing the contents of the heap specified by the core dump using a second heap analysis method, the second starting point in the heap, wherein the second heap analysis method comprises analyzing a graph-based representation of the heap.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×