Skip to content

Commit 9872421

Browse files
committed
8347094: Inline CollectedHeap::increment_total_full_collections
Reviewed-by: stefank, eosterlund, gli
1 parent b741f3f commit 9872421

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hotspot/share/gc/shared/collectedHeap.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,10 @@ class CollectedHeap : public CHeapObj<mtGC> {
383383
void increment_total_collections(bool full = false) {
384384
_total_collections++;
385385
if (full) {
386-
increment_total_full_collections();
386+
_total_full_collections++;
387387
}
388388
}
389389

390-
void increment_total_full_collections() { _total_full_collections++; }
391-
392390
// Return the SoftRefPolicy for the heap;
393391
SoftRefPolicy* soft_ref_policy() { return &_soft_ref_policy; }
394392

0 commit comments

Comments
 (0)