equal
deleted
inserted
replaced
1209 |
1209 |
1210 // Returns the address of the start of the "block" that contains the |
1210 // Returns the address of the start of the "block" that contains the |
1211 // address "addr". We say "blocks" instead of "object" since some heaps |
1211 // address "addr". We say "blocks" instead of "object" since some heaps |
1212 // may not pack objects densely; a chunk may either be an object or a |
1212 // may not pack objects densely; a chunk may either be an object or a |
1213 // non-object. |
1213 // non-object. |
1214 virtual HeapWord* block_start(const void* addr) const; |
1214 HeapWord* block_start(const void* addr) const; |
1215 |
1215 |
1216 // Requires "addr" to be the start of a block, and returns "TRUE" iff |
1216 // Requires "addr" to be the start of a block, and returns "TRUE" iff |
1217 // the block is an object. |
1217 // the block is an object. |
1218 virtual bool block_is_obj(const HeapWord* addr) const; |
1218 bool block_is_obj(const HeapWord* addr) const; |
1219 |
1219 |
1220 // Section on thread-local allocation buffers (TLABs) |
1220 // Section on thread-local allocation buffers (TLABs) |
1221 // See CollectedHeap for semantics. |
1221 // See CollectedHeap for semantics. |
1222 |
1222 |
1223 bool supports_tlab_allocation() const; |
1223 bool supports_tlab_allocation() const; |
1426 |
1426 |
1427 // The following two methods are helpful for debugging RSet issues. |
1427 // The following two methods are helpful for debugging RSet issues. |
1428 void print_cset_rsets() PRODUCT_RETURN; |
1428 void print_cset_rsets() PRODUCT_RETURN; |
1429 void print_all_rsets() PRODUCT_RETURN; |
1429 void print_all_rsets() PRODUCT_RETURN; |
1430 |
1430 |
|
1431 // Used to print information about locations in the hs_err file. |
|
1432 virtual bool print_location(outputStream* st, void* addr) const; |
|
1433 |
1431 size_t pending_card_num(); |
1434 size_t pending_card_num(); |
1432 }; |
1435 }; |
1433 |
1436 |
1434 class G1ParEvacuateFollowersClosure : public VoidClosure { |
1437 class G1ParEvacuateFollowersClosure : public VoidClosure { |
1435 private: |
1438 private: |