Lines Matching refs:malloc
158 tty->print_cr("Heap malloc " INTPTR_FORMAT " " SIZE_FORMAT " %s", p, size, name == NULL ? "" : name);
172 // MT-safe pool of chunks to reduce malloc/free thrashing
203 // No VM lock can be taken inside ThreadCritical lock, so os::malloc
209 if (p == NULL) p = os::malloc(bytes, mtChunk, CURRENT_PC);
321 void *p = os::malloc(bytes, mtChunk, CALLER_PC);
351 delete k; // Free chunk (was malloc'd)
438 void* p = os::malloc(size, flags|otArena, CALLER_PC);
442 return os::malloc(size, flags|otArena, CALLER_PC);
589 void* Arena::malloc(size_t size) {
591 // use malloc, but save pointer in res. area for later freeing
593 return (*save = (char*)os::malloc(size, mtChunk));