Lines Matching defs:first

627   uint first = G1_NULL_HRS_INDEX;
634 first = hr->hrs_index();
636 first = G1_NULL_HRS_INDEX;
651 first = _hrs.find_contiguous(num_regions);
652 if (first != G1_NULL_HRS_INDEX) {
653 for (uint i = first; i < first + num_regions; ++i) {
663 return first;
667 G1CollectedHeap::humongous_obj_allocate_initialize_regions(uint first,
670 assert(first != G1_NULL_HRS_INDEX, "pre-condition");
675 uint last = first + num_regions;
690 HeapRegion* first_hr = region_at(first);
692 // the first region.
694 // This will be the new end of the first region in the series that
697 // This will be the new top of the first region that will reflect
716 // We will set up the first region as "starts humongous". This
719 // first region.
725 for (uint i = first + 1; i < last; ++i) {
750 if ((first + 1) == last) {
771 for (uint i = first + 1; i < last; ++i) {
811 uint first = humongous_obj_allocate_find_first(num_regions, word_size);
812 if (first == G1_NULL_HRS_INDEX) {
834 first = humongous_obj_allocate_find_first(num_regions, word_size);
840 if (first != G1_NULL_HRS_INDEX) {
842 humongous_obj_allocate_initialize_regions(first, num_regions, word_size);
924 // We should only get here after the first-level allocation attempt
1004 // first attempt (without holding the Heap_lock) here and the
1065 // regions, we'll first try to do the allocation without doing a
1664 // Let's attempt the allocation first.
2144 // regions to the incremental collection set for the first
2772 // "continues humongous" first; in fact we'll do them
2773 // first. The order is important. In on case, calling the
2777 // them first (notice: most closures will ignore them anyway) and
3487 st->print(" %-20s", "garbage-first heap");
3608 "not a garbage-first heap");
3667 JavaThread *curr = Threads::first();
4587 // Drain the overflow stack first, so other threads can steal.
4684 // performance issue. obj->incr_age() will first check whether
4695 // in this case, we have to install the mark word first,
4822 // along with the first chunk (i.e., the chunk with start == 0).
6184 // first before we take the lock.