Lines Matching defs:free
5 * This code is free software; you can redistribute it and/or modify it
291 // Check the thread-local free list for a block so we don't
319 // Get block from free list
338 // Put returned block at the beginning of the thread-local free list.
356 // Return blocks to free list
392 // traverse heap pointers only, not deleted handles or free list
416 // traverse heap pointers only, not deleted handles or free list pointers
472 // Try free list
486 // No space available, we have to rebuild free list or expand
505 int free = 0;
514 free++;
517 // we should not rebuild free list if there are unused handles at the end
521 // Heuristic: if more than half of the handles are free we rebuild next time
523 // attempting a free list rebuild again.
525 int extra = total - 2*free;
527 // Not as many free handles as we would like - compute number of new blocks to append
531 tty->print_cr("Rebuild free list JNIHandleBlock " INTPTR_FORMAT " blocks=%d used=%d free=%d add=%d",
532 this, blocks, total-free, free, _allocate_before_rebuild);
597 tty->print_cr("- blocks free: %d", free_blocks);
599 tty->print_cr("- handles free: %d", free_handles);