< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahFreeSet.hpp

Print this page
*** 565,18 ***
    HeapWord* try_allocate_in(ShenandoahHeapRegion* region, ShenandoahAllocRequest& req, bool& in_new_region);
  
    // While holding the heap lock, allocate memory for a single object or LAB  which is to be entirely contained
    // within a single HeapRegion as characterized by req.
    //
!   // Precondition: !ShenandoahHeapRegion::requires_humongous(req.size())
    HeapWord* allocate_single(ShenandoahAllocRequest& req, bool& in_new_region);
  
    // While holding the heap lock, allocate memory for a humongous object which spans one or more regions that
    // were previously empty.  Regions that represent humongous objects are entirely dedicated to the humongous
    // object.  No other objects are packed into these regions.
    //
!   // Precondition: ShenandoahHeapRegion::requires_humongous(req.size())
    HeapWord* allocate_contiguous(ShenandoahAllocRequest& req, bool is_humongous);
  
    bool transfer_one_region_from_mutator_to_old_collector(size_t idx, size_t alloc_capacity);
  
    // Change region r from the Mutator partition to the GC's Collector or OldCollector partition.  This requires that the
--- 565,18 ---
    HeapWord* try_allocate_in(ShenandoahHeapRegion* region, ShenandoahAllocRequest& req, bool& in_new_region);
  
    // While holding the heap lock, allocate memory for a single object or LAB  which is to be entirely contained
    // within a single HeapRegion as characterized by req.
    //
!   // Precondition: !ShenandoahHeapRegion::requires_humongous(req.size(), req.type() == _alloc_shared)
    HeapWord* allocate_single(ShenandoahAllocRequest& req, bool& in_new_region);
  
    // While holding the heap lock, allocate memory for a humongous object which spans one or more regions that
    // were previously empty.  Regions that represent humongous objects are entirely dedicated to the humongous
    // object.  No other objects are packed into these regions.
    //
!   // Precondition: ShenandoahHeapRegion::requires_humongous(req.size(), req.type() == _alloc_shared)
    HeapWord* allocate_contiguous(ShenandoahAllocRequest& req, bool is_humongous);
  
    bool transfer_one_region_from_mutator_to_old_collector(size_t idx, size_t alloc_capacity);
  
    // Change region r from the Mutator partition to the GC's Collector or OldCollector partition.  This requires that the
< prev index next >