< prev index next >

src/share/vm/gc/serial/defNewGeneration.hpp

Print this page




 322   virtual bool collection_attempt_is_safe();
 323 
 324   virtual void collect(bool   full,
 325                        bool   clear_all_soft_refs,
 326                        size_t size,
 327                        bool   is_tlab);
 328   HeapWord* expand_and_allocate(size_t size,
 329                                 bool is_tlab,
 330                                 bool parallel = false);
 331 
 332   oop copy_to_survivor_space(oop old);
 333   uint tenuring_threshold() { return _tenuring_threshold; }
 334 
 335   // Performance Counter support
 336   void update_counters();
 337 
 338   // Printing
 339   virtual const char* name() const;
 340   virtual const char* short_name() const { return "DefNew"; }
 341 
 342   // PrintHeapAtGC support.
 343   void print_on(outputStream* st) const;
 344 
 345   void verify();
 346 
 347   bool promo_failure_scan_is_complete() const {
 348     return _promo_failure_scan_stack.is_empty();
 349   }
 350 
 351  protected:
 352   // If clear_space is true, clear the survivor spaces.  Eden is
 353   // cleared if the minimum size of eden is 0.  If mangle_space
 354   // is true, also mangle the space in debug mode.
 355   void compute_space_boundaries(uintx minimum_eden_size,
 356                                 bool clear_space,
 357                                 bool mangle_space);
 358   // Scavenge support
 359   void swap_spaces();
 360 };
 361 
 362 #endif // SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP


 322   virtual bool collection_attempt_is_safe();
 323 
 324   virtual void collect(bool   full,
 325                        bool   clear_all_soft_refs,
 326                        size_t size,
 327                        bool   is_tlab);
 328   HeapWord* expand_and_allocate(size_t size,
 329                                 bool is_tlab,
 330                                 bool parallel = false);
 331 
 332   oop copy_to_survivor_space(oop old);
 333   uint tenuring_threshold() { return _tenuring_threshold; }
 334 
 335   // Performance Counter support
 336   void update_counters();
 337 
 338   // Printing
 339   virtual const char* name() const;
 340   virtual const char* short_name() const { return "DefNew"; }
 341 

 342   void print_on(outputStream* st) const;
 343 
 344   void verify();
 345 
 346   bool promo_failure_scan_is_complete() const {
 347     return _promo_failure_scan_stack.is_empty();
 348   }
 349 
 350  protected:
 351   // If clear_space is true, clear the survivor spaces.  Eden is
 352   // cleared if the minimum size of eden is 0.  If mangle_space
 353   // is true, also mangle the space in debug mode.
 354   void compute_space_boundaries(uintx minimum_eden_size,
 355                                 bool clear_space,
 356                                 bool mangle_space);
 357   // Scavenge support
 358   void swap_spaces();
 359 };
 360 
 361 #endif // SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP
< prev index next >