Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/hotspot/share/gc/shared/collectedHeap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,12 +383,10 @@ class CollectedHeap : public CHeapObj<mtGC> {
void increment_total_collections(bool full = false) {
_total_collections++;
if (full) {
increment_total_full_collections();
_total_full_collections++;
}
}

void increment_total_full_collections() { _total_full_collections++; }

// Return the SoftRefPolicy for the heap;
SoftRefPolicy* soft_ref_policy() { return &_soft_ref_policy; }

Expand Down