< prev index next >

src/java.desktop/share/native/common/awt/debug/debug_mem.c

Print this page
rev 52923 : 8226346: Build better binary builders
Reviewed-by: andrew

*** 25,39 **** #if defined(DEBUG) #include "debug_util.h" - /* Use THIS_FILE when it is available. */ - #ifndef THIS_FILE - #define THIS_FILE __FILE__ - #endif - #define DMEM_MIN(a,b) (a) < (b) ? (a) : (b) #define DMEM_MAX(a,b) (a) > (b) ? (a) : (b) typedef char byte_t; --- 25,34 ----
*** 294,304 **** MemoryListLink * link; DMutex_Enter(DMemMutex); /* Force memory leaks to be output regardless of trace settings */ ! DTrace_EnableFile(THIS_FILE, TRUE); DTRACE_PRINTLN("--------------------------"); DTRACE_PRINTLN("Debug Memory Manager Leaks"); DTRACE_PRINTLN("--------------------------"); /* walk through allocated list and dump any blocks not marked as freed */ --- 289,299 ---- MemoryListLink * link; DMutex_Enter(DMemMutex); /* Force memory leaks to be output regardless of trace settings */ ! DTrace_EnableFile(__FILE__, TRUE); DTRACE_PRINTLN("--------------------------"); DTRACE_PRINTLN("Debug Memory Manager Leaks"); DTRACE_PRINTLN("--------------------------"); /* walk through allocated list and dump any blocks not marked as freed */
< prev index next >