< prev index next >
src/hotspot/share/gc/shared/ptrQueue.hpp
Print this page
rev 55404 : 8226197: Reducing G1?s CPU cost with simplified write post-barrier and disabling concurrent refinement
Summary: A prototype to add a mode for G1 to use a simplified write post-barrier. Guarded by new flag G1FastWriteBarrier.
*** 321,333 ****
void initialize(Monitor* cbl_mon, BufferNode::Allocator* allocator);
// For (unlocked!) iteration over the completed buffers.
BufferNode* completed_buffers_head() const { return _completed_buffers_head; }
- // Deallocate all of the completed buffers.
- void abandon_completed_buffers();
-
public:
// Return the buffer for a BufferNode of size buffer_size().
void** allocate_buffer();
--- 321,330 ----
*** 365,374 ****
--- 362,374 ----
}
static const size_t ProcessCompletedBuffersThresholdNever = ~size_t(0);
size_t completed_buffers_num() const { return _n_completed_buffers; }
+ // Deallocate all of the completed buffers.
+ void abandon_completed_buffers();
+
void merge_bufferlists(PtrQueueSet* src);
// Notify the consumer if the number of buffers crossed the threshold
void notify_if_necessary();
};
< prev index next >