770 inline void count_region(MemRegion mr, |
770 inline void count_region(MemRegion mr, |
771 HeapRegion* hr, |
771 HeapRegion* hr, |
772 size_t* marked_bytes_array, |
772 size_t* marked_bytes_array, |
773 BitMap* task_card_bm); |
773 BitMap* task_card_bm); |
774 |
774 |
775 // Counts the given memory region in the task/worker counting |
|
776 // data structures for the given worker id. |
|
777 inline void count_region(MemRegion mr, HeapRegion* hr, uint worker_id); |
|
778 |
|
779 // Counts the given object in the given task/worker counting |
775 // Counts the given object in the given task/worker counting |
780 // data structures. |
776 // data structures. |
781 inline void count_object(oop obj, |
777 inline void count_object(oop obj, |
782 HeapRegion* hr, |
778 HeapRegion* hr, |
783 size_t* marked_bytes_array, |
779 size_t* marked_bytes_array, |
784 BitMap* task_card_bm); |
780 BitMap* task_card_bm, |
|
781 size_t word_size); |
785 |
782 |
786 // Attempts to mark the given object and, if successful, counts |
783 // Attempts to mark the given object and, if successful, counts |
787 // the object in the given task/worker counting structures. |
784 // the object in the given task/worker counting structures. |
788 inline bool par_mark_and_count(oop obj, |
785 inline bool par_mark_and_count(oop obj, |
789 HeapRegion* hr, |
786 HeapRegion* hr, |