< prev index next >
src/share/vm/gc/g1/workerDataArray.hpp
Print this page
rev 13028 : imported patch 8178148-more-detailed-scan-rs-logging
rev 13030 : imported patch 8178148-workerdata-add
@@ -46,10 +46,11 @@
WorkerDataArray(uint length, const char* title);
~WorkerDataArray();
void link_thread_work_items(WorkerDataArray<size_t>* thread_work_items, uint index = 0);
void set_thread_work_item(uint worker_i, size_t value, uint index = 0);
+ void add_thread_work_item(uint worker_i, size_t value, uint index = 0);
WorkerDataArray<size_t>* thread_work_items(uint index = 0) const {
assert(index < MaxThreadWorkItems, "Tried to access thread work item %u max %u", index, MaxThreadWorkItems);
return _thread_work_items[index];
}
< prev index next >