comparison src/share/vm/gc_implementation/g1/g1MonitoringSupport.hpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents 63a4eb8bcd23
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
106 // We update all the above synchronously and we store the results in 106 // We update all the above synchronously and we store the results in
107 // fields so that we just read said fields when needed. A subtle point 107 // fields so that we just read said fields when needed. A subtle point
108 // is that all the above sizes need to be recalculated when the old 108 // is that all the above sizes need to be recalculated when the old
109 // gen changes capacity (after a GC or after a humongous allocation) 109 // gen changes capacity (after a GC or after a humongous allocation)
110 // but only the eden occupancy changes when a new eden region is 110 // but only the eden occupancy changes when a new eden region is
111 // allocated. So, in the latter case we have minimal recalcuation to 111 // allocated. So, in the latter case we have minimal recalculation to
112 // do which is important as we want to keep the eden region allocation 112 // do which is important as we want to keep the eden region allocation
113 // path as low-overhead as possible. 113 // path as low-overhead as possible.
114 114
115 class G1MonitoringSupport : public CHeapObj<mtGC> { 115 class G1MonitoringSupport : public CHeapObj<mtGC> {
116 friend class VMStructs; 116 friend class VMStructs;