Lines Matching defs:malloc
80 julong os::num_mallocs = 0; // # of calls to malloc/realloc
439 char *dup_str = (char *)malloc(size + 1, flags);
563 void* os::malloc(size_t size, MEMFLAGS memflags, address caller) {
574 u_char* ptr = (u_char*)::malloc(size + space_before + space_after);
589 tty->print_cr("os::malloc caught, " SIZE_FORMAT " bytes --> " PTR_FORMAT, size, memblock);
593 if (PrintMalloc && tty != NULL) tty->print_cr("os::malloc " SIZE_FORMAT " bytes --> " PTR_FORMAT, size, memblock);
617 return malloc(size, memflags, (caller == 0 ? CALLER_PC : caller));
627 void* ptr = malloc(size, memflags, caller == 0 ? CALLER_PC : caller);
629 // Copy to new memory if malloc didn't fail
659 "Thing freed should be malloc result.");
667 "Thing freed should be malloc result.");