equal
deleted
inserted
replaced
532 |
532 |
533 virtual bool is_oop(oop object) const; |
533 virtual bool is_oop(oop object) const; |
534 |
534 |
535 virtual size_t obj_size(oop obj) const; |
535 virtual size_t obj_size(oop obj) const; |
536 |
536 |
537 // Cells are memory slices allocated by the allocator. Objects are initialized |
|
538 // in cells. The cell itself may have a header, found at a negative offset of |
|
539 // oops. Usually, the size of the cell header is 0, but it may be larger. |
|
540 virtual ptrdiff_t cell_header_size() const { return 0; } |
|
541 |
|
542 // Non product verification and debugging. |
537 // Non product verification and debugging. |
543 #ifndef PRODUCT |
538 #ifndef PRODUCT |
544 // Support for PromotionFailureALot. Return true if it's time to cause a |
539 // Support for PromotionFailureALot. Return true if it's time to cause a |
545 // promotion failure. The no-argument version uses |
540 // promotion failure. The no-argument version uses |
546 // this->_promotion_failure_alot_count as the counter. |
541 // this->_promotion_failure_alot_count as the counter. |