Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6249146

SA does inaccurate Liveness Analysis

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 6, 9, 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      sparc
    • OS:
      solaris

      Description

      In the recent past we have received many escalations where customers complain that they see continous/sudden growth in their java heap and eventually the application stops with OutOfMemory error. SA has a feature where we can see the objects present in the heap and if we take 2-3 snapshots of the process and analyse it using SA's this feature, we can come to know what objects are actually filling up the heap.

      Now after finding these objects, SA allows us to do liveness analysis on these to see if they are dead(not reachable) or alive. If they are alive then it can also tell us reference paths through which they are reachable.

      This Liveness Analysis feature in SA does not provide accurate information. The objects which may be live and we would be interested to know their liveness paths, IT SHOWS THEM AS DEAD.

      The reason for this is that SA does not have access to all the roots to compute the correct reachability graph of objects and the solution would be to add all the roots to SA.

      This accuracy is really important as we have many customers facing such problems and SA is the only tool which can extract such information about objects from a core file.


      ###@###.### 2005-04-01 06:18:00 GMT

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              poonam Poonam Bajaj Parhar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: