Lines Matching defs:result

409   HeapWord* result = young_gen()->allocate(size);
414 while (result == NULL) {
430 result = young_gen()->allocate(size);
431 if (result != NULL) {
432 return result;
436 result = mem_allocate_old_gen(size);
437 if (result != NULL) {
438 return result;
464 if (result == NULL) {
469 // Did the VM operation execute? If so, return the result directly.
473 assert(Universe::heap()->is_in_or_null(op.result()),
474 "result not in heap");
479 assert(op.result() == NULL, "must be NULL if gc_locked() is true");
484 // The allocation must have failed above ("result" guarding
489 // op.result()),
492 // excesses). Fill op.result() with a filler object so that the
504 if (op.result() != NULL) {
505 CollectedHeap::fill_with_object(op.result(), size);
510 return op.result();
517 if ((result == NULL) && (QueuedAllocationWarningCount > 0) &&
524 return result;
531 // attempted from the young gen. The parameter 'addr' should be the result of
580 HeapWord* result = young_gen()->allocate(size);
584 if (result == NULL && !invoked_full_gc) {
586 result = young_gen()->allocate(size);
589 death_march_check(result, size);
594 if (result == NULL) {
595 result = old_gen()->allocate(size);
600 if (result == NULL) {
602 result = young_gen()->allocate(size);
607 if (result == NULL) {
608 result = old_gen()->allocate(size);
611 return result;
623 HeapWord* result;
646 result = perm_gen()->allocate_permanent(size);
648 if (result != NULL) {
649 return result;
674 if (result == NULL) {
677 // The allocation must have failed above (result must be NULL),
691 assert(result == NULL, "Allocation did not fail");
699 // Did the VM operation execute? If so, return the result directly.
703 assert(Universe::heap()->is_in_permanent_or_null(op.result()),
704 "result not in heap");
708 assert(op.result() == NULL, "must be NULL if gc_locked() is true");
719 if (op.result() == NULL) {
722 return op.result();
734 } while (result == NULL);
736 return result;
757 HeapWord* result = perm_gen()->allocate_permanent(size);
760 if (result == NULL) {
762 result = perm_gen()->allocate_permanent(size);
765 return result;