comparison src/share/vm/opto/callGenerator.hpp @ 2443:f8b038506985

6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold") Reviewed-by: kvn
author never
date Fri, 01 Apr 2011 21:45:33 -0700
parents f95d63e2154a
children f56542cb325a
comparison
equal deleted inserted replaced
2442:c2323e2ea62b 2443: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