Class MemoryLeakUtils

java.lang.Object
org.glassfish.jersey.test.memleak.common.MemoryLeakUtils

public class MemoryLeakUtils extends Object
Utility class for memory leak test infrastructure.
Author:
Stepan Vavra
  • Field Details

    • JERSEY_CONFIG_TEST_CONTAINER_LOGFILE

      public static final String JERSEY_CONFIG_TEST_CONTAINER_LOGFILE
      The log file where the output (stdout/stderr) of container is located.

      For instance, this file is used for detection of OutOfMemoryError exception records.

      See Also:
    • JERSEY_CONFIG_TEST_MEMLEAK_TIMEOUT

      public static final String JERSEY_CONFIG_TEST_MEMLEAK_TIMEOUT
      The memory leak timeout denotes successful end of the memory leak test. That is, if the memory leak didn't occur during the specified timeout, the test successfully finishes.
      See Also:
    • JERSEY_CONFIG_TEST_CONTAINER_CONTEXT_ROOT

      public static final String JERSEY_CONFIG_TEST_CONTAINER_CONTEXT_ROOT
      The context root where the deployed application will be accessible.
      See Also:
    • JERSEY_CONFIG_TEST_MEMLEAK_HEAP_DUMP_PATH

      public static final String JERSEY_CONFIG_TEST_MEMLEAK_HEAP_DUMP_PATH
      The path where to create heap dump files.
      See Also:
  • Method Details