comparison src/hotspot/share/gc/g1/g1HeapTransition.cpp @ 49129:f323537c9b75

8196602: Change HeapRegionClosure to comply to naming conventions Reviewed-by: kbarrett, sjohanss
author tschatzl
date Fri, 09 Feb 2018 13:09:55 +0100
parents 71c04702a3d5
children f9884e190f2b
comparison
equal deleted inserted replaced
0:2f548a7985a2 1:5ada0d96a9d9
56 }; 56 };
57 57
58 class DetailedUsageClosure: public HeapRegionClosure { 58 class DetailedUsageClosure: public HeapRegionClosure {
59 public: 59 public:
60 DetailedUsage _usage; 60 DetailedUsage _usage;
61 bool doHeapRegion(HeapRegion* r) { 61 bool do_heap_region(HeapRegion* r) {
62 if (r->is_old()) { 62 if (r->is_old()) {
63 _usage._old_used += r->used(); 63 _usage._old_used += r->used();
64 _usage._old_region_count++; 64 _usage._old_region_count++;
65 } else if (r->is_survivor()) { 65 } else if (r->is_survivor()) {
66 _usage._survivor_used += r->used(); 66 _usage._survivor_used += r->used();