Package com.biglybt.core.util
Class AEDiagnostics
java.lang.Object
com.biglybt.core.util.AEDiagnostics
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
private static final String[][]
static final boolean
private static final String
private static File
static final boolean
private static File
static final boolean
private static final AESemaphore
private static boolean
private static final List<AEDiagnosticsEvidenceGenerator>
private static final Map<String,
AEDiagnosticsLogger> protected static boolean
protected static boolean
protected static boolean
private static int[]
private static final int
static final boolean
private static boolean
private static boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
private static final Map<AEDiagnosticsEvidenceGenerator,
Void> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
protected static void
analyseDump
(File file) static void
private static void
static void
static void
dumpThreads
(IndentWriter writer) static void
static void
generateEvidence
(PrintWriter _writer) static File
static AEDiagnosticsLogger
static String
getThreadInfo
(Thread thread) static boolean
isDirty()
static boolean
static void
static void
logWithStack
(String logger_name, String str) static void
static void
static void
postStartup
(Core core) static void
static void
startup
(boolean _enable_pending) static void
waitForDumpChecks
(long max_wait)
-
Field Details
-
ALWAYS_PASS_HASH_CHECKS
public static final boolean ALWAYS_PASS_HASH_CHECKS- See Also:
-
USE_DUMMY_FILE_DATA
public static final boolean USE_DUMMY_FILE_DATA- See Also:
-
CHECK_DUMMY_FILE_DATA
public static final boolean CHECK_DUMMY_FILE_DATA- See Also:
-
DEBUG_MONITOR_SEM_USAGE
public static final boolean DEBUG_MONITOR_SEM_USAGE- See Also:
-
DEBUG_THREADS
public static final boolean DEBUG_THREADS- See Also:
-
TRACE_DIRECT_BYTE_BUFFERS
public static final boolean TRACE_DIRECT_BYTE_BUFFERS- See Also:
-
TRACE_DBB_POOL_USAGE
public static final boolean TRACE_DBB_POOL_USAGE- See Also:
-
PRINT_DBB_POOL_USAGE
public static final boolean PRINT_DBB_POOL_USAGE- See Also:
-
TRACE_TCP_TRANSPORT_STATS
public static final boolean TRACE_TCP_TRANSPORT_STATS- See Also:
-
TRACE_CONNECTION_DROPS
public static final boolean TRACE_CONNECTION_DROPS- See Also:
-
MAX_FILE_SIZE_DEFAULT
private static final int MAX_FILE_SIZE_DEFAULT -
MAX_FILE_SIZE_ACTUAL
private static int[] MAX_FILE_SIZE_ACTUAL -
CONFIG_KEY
- See Also:
-
debug_dir
-
debug_save_dir
-
started_up
private static boolean started_up -
startup_complete
private static volatile boolean startup_complete -
enable_pending_writes
private static boolean enable_pending_writes -
loggers
-
logging_enabled
protected static boolean logging_enabled -
loggers_enabled
protected static boolean loggers_enabled -
loggers_disabled
protected static boolean loggers_disabled -
evidence_generators
-
weak_evidence_generators
-
dump_check_done_sem
-
bad_dlls
-
-
Constructor Details
-
AEDiagnostics
public AEDiagnostics()
-
-
Method Details
-
startup
public static void startup(boolean _enable_pending) -
dumpThreads
public static void dumpThreads() -
dumpThreads
-
getThreadInfo
-
cleanOldLogs
private static void cleanOldLogs() -
isStartupComplete
public static boolean isStartupComplete() -
postStartup
-
getLogDir
-
flushPendingLogs
public static void flushPendingLogs() -
getLogger
-
logWithStack
-
log
-
markDirty
public static void markDirty() -
isDirty
public static boolean isDirty() -
markClean
public static void markClean() -
checkDumpsAndNatives
public static void checkDumpsAndNatives() -
analyseDump
-
waitForDumpChecks
public static void waitForDumpChecks(long max_wait) -
addWeakEvidenceGenerator
-
addEvidenceGenerator
-
removeEvidenceGenerator
-
generateEvidence
-