< prev index next >

src/share/vm/gc/g1/heapRegion.hpp

Print this page
rev 12059 : [mq]: no_requeue


 641     return (HeapWord *) obj >= next_top_at_mark_start();
 642   }
 643 
 644   // Returns the "evacuation_failed" property of the region.
 645   bool evacuation_failed() { return _evacuation_failed; }
 646 
 647   // Sets the "evacuation_failed" property of the region.
 648   void set_evacuation_failed(bool b) {
 649     _evacuation_failed = b;
 650 
 651     if (b) {
 652       _next_marked_bytes = 0;
 653     }
 654   }
 655 
 656   // Iterate over the card in the card designated by card_ptr,
 657   // applying cl to all references in the region.
 658   // mr: the memory region covered by the card.
 659   // card_ptr: if we decide that the card is not young and we iterate
 660   // over it, we'll clean the card before we start the iteration.
 661   // Returns true if card was successfully processed, false if an
 662   // unparsable part of the heap was encountered, which should only
 663   // happen when invoked concurrently with the mutator.
 664   bool oops_on_card_seq_iterate_careful(MemRegion mr,
 665                                         FilterOutOfRegionClosure* cl,
 666                                         jbyte* card_ptr);
 667 
 668   size_t recorded_rs_length() const        { return _recorded_rs_length; }
 669   double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; }
 670   size_t predicted_bytes_to_copy() const   { return _predicted_bytes_to_copy; }
 671 
 672   void set_recorded_rs_length(size_t rs_length) {
 673     _recorded_rs_length = rs_length;
 674   }
 675 
 676   void set_predicted_elapsed_time_ms(double ms) {
 677     _predicted_elapsed_time_ms = ms;
 678   }
 679 
 680   void set_predicted_bytes_to_copy(size_t bytes) {
 681     _predicted_bytes_to_copy = bytes;
 682   }
 683 
 684   virtual CompactibleSpace* next_compaction_space() const;




 641     return (HeapWord *) obj >= next_top_at_mark_start();
 642   }
 643 
 644   // Returns the "evacuation_failed" property of the region.
 645   bool evacuation_failed() { return _evacuation_failed; }
 646 
 647   // Sets the "evacuation_failed" property of the region.
 648   void set_evacuation_failed(bool b) {
 649     _evacuation_failed = b;
 650 
 651     if (b) {
 652       _next_marked_bytes = 0;
 653     }
 654   }
 655 
 656   // Iterate over the card in the card designated by card_ptr,
 657   // applying cl to all references in the region.
 658   // mr: the memory region covered by the card.
 659   // card_ptr: if we decide that the card is not young and we iterate
 660   // over it, we'll clean the card before we start the iteration.
 661   void oops_on_card_seq_iterate_careful(MemRegion mr,



 662                                         FilterOutOfRegionClosure* cl,
 663                                         jbyte* card_ptr);
 664 
 665   size_t recorded_rs_length() const        { return _recorded_rs_length; }
 666   double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; }
 667   size_t predicted_bytes_to_copy() const   { return _predicted_bytes_to_copy; }
 668 
 669   void set_recorded_rs_length(size_t rs_length) {
 670     _recorded_rs_length = rs_length;
 671   }
 672 
 673   void set_predicted_elapsed_time_ms(double ms) {
 674     _predicted_elapsed_time_ms = ms;
 675   }
 676 
 677   void set_predicted_bytes_to_copy(size_t bytes) {
 678     _predicted_bytes_to_copy = bytes;
 679   }
 680 
 681   virtual CompactibleSpace* next_compaction_space() const;


< prev index next >