src/share/vm/opto/callGenerator.hpp

changeset 2725
f8b038506985
parent 2314
f95d63e2154a
child 2949
f918d6096e23
equal deleted inserted replaced
2724:c2323e2ea62b 2725:f8b038506985
213 // size in a clique of mutually inlinable methods. 213 // size in a clique of mutually inlinable methods.
214 214
215 WarmCallInfo* next() const { return _next; } 215 WarmCallInfo* next() const { return _next; }
216 void set_next(WarmCallInfo* n) { _next = n; } 216 void set_next(WarmCallInfo* n) { _next = n; }
217 217
218 static WarmCallInfo* _always_hot; 218 static WarmCallInfo _always_hot;
219 static WarmCallInfo* _always_cold; 219 static WarmCallInfo _always_cold;
220
221 // Constructor intitialization of always_hot and always_cold
222 WarmCallInfo(float c, float p, float w, float s) {
223 _call = NULL;
224 _hot_cg = NULL;
225 _next = NULL;
226 _count = c;
227 _profit = p;
228 _work = w;
229 _size = s;
230 _heat = 0;
231 }
220 232
221 public: 233 public:
222 // Because WarmInfo objects live over the entire lifetime of the 234 // Because WarmInfo objects live over the entire lifetime of the
223 // Compile object, they are allocated into the comp_arena, which 235 // Compile object, they are allocated into the comp_arena, which
224 // does not get resource marked or reset during the compile process 236 // does not get resource marked or reset during the compile process

mercurial