Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/heapRegion.hpp @ 20542:0fcaab91d485
8055816: Remove dead code in g1BlockOffsetTable
Reviewed-by: tschatzl, mgerdin
author | brutisso |
---|---|
date | Fri, 10 Oct 2014 15:45:45 +0200 |
parents | 7baf47cb97cb |
children |
comparison
equal
deleted
inserted
replaced
20541:e3ed86fc15ed | 20542:0fcaab91d485 |
---|---|
201 | 201 |
202 void reset_bot() { | 202 void reset_bot() { |
203 _offsets.reset_bot(); | 203 _offsets.reset_bot(); |
204 } | 204 } |
205 | 205 |
206 void update_bot_for_object(HeapWord* start, size_t word_size) { | |
207 _offsets.alloc_block(start, word_size); | |
208 } | |
209 | |
210 void print_bot_on(outputStream* out) { | 206 void print_bot_on(outputStream* out) { |
211 _offsets.print_on(out); | 207 _offsets.print_on(out); |
212 } | 208 } |
213 }; | 209 }; |
214 | 210 |
735 oops_on_card_seq_iterate_careful(MemRegion mr, | 731 oops_on_card_seq_iterate_careful(MemRegion mr, |
736 FilterOutOfRegionClosure* cl, | 732 FilterOutOfRegionClosure* cl, |
737 bool filter_young, | 733 bool filter_young, |
738 jbyte* card_ptr); | 734 jbyte* card_ptr); |
739 | 735 |
740 // A version of block start that is guaranteed to find *some* block | |
741 // boundary at or before "p", but does not object iteration, and may | |
742 // therefore be used safely when the heap is unparseable. | |
743 HeapWord* block_start_careful(const void* p) const { | |
744 return _offsets.block_start_careful(p); | |
745 } | |
746 | |
747 // Requires that "addr" is within the region. Returns the start of the | |
748 // first ("careful") block that starts at or after "addr", or else the | |
749 // "end" of the region if there is no such block. | |
750 HeapWord* next_block_start_careful(HeapWord* addr); | |
751 | |
752 size_t recorded_rs_length() const { return _recorded_rs_length; } | 736 size_t recorded_rs_length() const { return _recorded_rs_length; } |
753 double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; } | 737 double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; } |
754 size_t predicted_bytes_to_copy() const { return _predicted_bytes_to_copy; } | 738 size_t predicted_bytes_to_copy() const { return _predicted_bytes_to_copy; } |
755 | 739 |
756 void set_recorded_rs_length(size_t rs_length) { | 740 void set_recorded_rs_length(size_t rs_length) { |