예제 #1
0
        internal override void Process(ProfilerSession sess)
        {
            if (sess.m_currentHeapDump != null)
            {
                //We lost a heap-dump end packet somewhere.
                //Insert one to clean up the last heap dump.
                HeapDumpStopPacket hdep = new HeapDumpStopPacket(null);
                hdep.Process(sess);
            }

            // Heap dump should update live object table.

            sess.m_currentHeapDump = new HeapDump();
            Tracing.PacketTrace("HEAP DUMP BEGIN======================>");
        }
예제 #2
0
        internal override void Process(ProfilerSession sess)
        {
            if(sess.m_currentHeapDump != null)
            {
                //We lost a heap-dump end packet somewhere.
                //Insert one to clean up the last heap dump.
                HeapDumpStopPacket hdep = new HeapDumpStopPacket(null);
                hdep.Process(sess);
            }

            // Heap dump should update live object table.

            sess.m_currentHeapDump = new HeapDump();
            Tracing.PacketTrace("HEAP DUMP BEGIN======================>");
        }