1.1 --- a/src/share/vm/opto/callGenerator.hpp Thu Mar 31 21:05:55 2011 -0700 1.2 +++ b/src/share/vm/opto/callGenerator.hpp Fri Apr 01 21:45:33 2011 -0700 1.3 @@ -215,8 +215,20 @@ 1.4 WarmCallInfo* next() const { return _next; } 1.5 void set_next(WarmCallInfo* n) { _next = n; } 1.6 1.7 - static WarmCallInfo* _always_hot; 1.8 - static WarmCallInfo* _always_cold; 1.9 + static WarmCallInfo _always_hot; 1.10 + static WarmCallInfo _always_cold; 1.11 + 1.12 + // Constructor intitialization of always_hot and always_cold 1.13 + WarmCallInfo(float c, float p, float w, float s) { 1.14 + _call = NULL; 1.15 + _hot_cg = NULL; 1.16 + _next = NULL; 1.17 + _count = c; 1.18 + _profit = p; 1.19 + _work = w; 1.20 + _size = s; 1.21 + _heat = 0; 1.22 + } 1.23 1.24 public: 1.25 // Because WarmInfo objects live over the entire lifetime of the