Class LeakerPlan


  • public class LeakerPlan
    extends Plan
    Test memory consumption.
    • Constructor Detail

      • LeakerPlan

        public LeakerPlan()
    • Method Detail

      • body

        public void body()
        Create a new plan.
        Specified by:
        body in class Plan
      • runTests

        public void runTests​(int testno,
                             int runs,
                             boolean dispatch)
        The body method is called on the instantiated plan instance from the scheduler.
      • testGoalCreation

        protected void testGoalCreation​(int num,
                                        boolean dispatch)
        Test if the goal creation consumes memory.
      • testInternalEventCreation

        protected void testInternalEventCreation​(int num,
                                                 boolean dispatch)
        Test if the internal event creation consumes memory.
      • testMessageCreation

        protected void testMessageCreation​(int num,
                                           boolean send)
        Test if the message creation consumes memory.
      • sleeper

        protected long sleeper​(long start)