mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold")
Reviewed-by: kvn
This commit is contained in:
parent
3ad32dbe57
commit
5cd8d5c115
2 changed files with 22 additions and 22 deletions
|
@ -215,8 +215,20 @@ class WarmCallInfo : public ResourceObj {
|
|||
WarmCallInfo* next() const { return _next; }
|
||||
void set_next(WarmCallInfo* n) { _next = n; }
|
||||
|
||||
static WarmCallInfo* _always_hot;
|
||||
static WarmCallInfo* _always_cold;
|
||||
static WarmCallInfo _always_hot;
|
||||
static WarmCallInfo _always_cold;
|
||||
|
||||
// Constructor intitialization of always_hot and always_cold
|
||||
WarmCallInfo(float c, float p, float w, float s) {
|
||||
_call = NULL;
|
||||
_hot_cg = NULL;
|
||||
_next = NULL;
|
||||
_count = c;
|
||||
_profit = p;
|
||||
_work = w;
|
||||
_size = s;
|
||||
_heat = 0;
|
||||
}
|
||||
|
||||
public:
|
||||
// Because WarmInfo objects live over the entire lifetime of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue