Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

static void org::netbeans::lib::profiler::server::ProfilerRuntimeMemory::resetProfilerCollectors ( int  instrType  )  [inline, static, inherited]

Memory profiling-specific reset collectors functionality.

Reimplemented from org::netbeans::lib::profiler::server::ProfilerRuntime.

Definition at line 130 of file ProfilerRuntimeMemory.java.

                                                              {
        if (allocatedInstancesCount != null) {
            for (int i = 0; i < allocatedInstancesCount.length; i++) {
                allocatedInstancesCount[i] = 0;
                allocatedInstThreshold[i] = 0;
            }
        }

        if (instrType == INSTR_OBJECT_LIVENESS) {
            ProfilerRuntimeObjLiveness.resetProfilerCollectors();
        }

        classIdMap = new HashMap();
    }


Generated by  Doxygen 1.6.0   Back to index