< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/util.h

Print this page

        

*** 33,51 **** #include <stdarg.h> #ifdef DEBUG /* Just to make sure these interfaces are not used here. */ #undef free ! #define free(p) Do not use this interface. #undef malloc ! #define malloc(p) Do not use this interface. #undef calloc ! #define calloc(p) Do not use this interface. #undef realloc ! #define realloc(p) Do not use this interface. #undef strdup ! #define strdup(p) Do not use this interface. #endif #include "log_messages.h" #include "vm_interface.h" #include "JDWP.h" --- 33,51 ---- #include <stdarg.h> #ifdef DEBUG /* Just to make sure these interfaces are not used here. */ #undef free ! #define free do_not_use_this_interface_free #undef malloc ! #define malloc do_not_use_this_interface_malloc #undef calloc ! #define calloc do_not_use_this_interface_calloc #undef realloc ! #define realloc do_not_use_this_interface_realloc #undef strdup ! #define strdup do_not_use_this_interface_strdup #endif #include "log_messages.h" #include "vm_interface.h" #include "JDWP.h"
< prev index next >