Class ObjectMarker.LocalDfsThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ObjectMarker

    public class ObjectMarker.LocalDfsThread
    extends ObjectMarker.DfsThread
    Depth first search thread - with locality. Have a local stack for objects close to the current object. Have a local queue for remaining objects. Use the global stack for excess objects or when local stack and queue are empty.
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalDfsThread​(org.eclipse.mat.parser.internal.snapshot.ObjectMarker.MultiThreadedRootStack roots)  
      LocalDfsThread​(org.eclipse.mat.parser.internal.snapshot.ObjectMarker.MultiThreadedRootStack roots, int range)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalDfsThread

        public LocalDfsThread​(org.eclipse.mat.parser.internal.snapshot.ObjectMarker.MultiThreadedRootStack roots)
      • LocalDfsThread

        public LocalDfsThread​(org.eclipse.mat.parser.internal.snapshot.ObjectMarker.MultiThreadedRootStack roots,
                              int range)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class ObjectMarker.DfsThread