8033260: assert(lrg._area >= 0.0) failed: negative spill area

Change type from float to double on block frequency, and add check for +Inf - +Inf operation

Reviewed-by: kvn, roland
This commit is contained in:
Niclas Adlertz 2014-02-25 17:51:27 +01:00
parent 532b570e81
commit 5d4b624caf
6 changed files with 38 additions and 34 deletions

View file

@ -1176,9 +1176,9 @@ typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable;
c2_nonstatic_field(Block, _pre_order, uint) \
c2_nonstatic_field(Block, _dom_depth, uint) \
c2_nonstatic_field(Block, _idom, Block*) \
c2_nonstatic_field(Block, _freq, jfloat) \
c2_nonstatic_field(Block, _freq, jdouble) \
\
c2_nonstatic_field(CFGElement, _freq, jfloat) \
c2_nonstatic_field(CFGElement, _freq, jdouble) \
\
c2_nonstatic_field(Block_List, _cnt, uint) \
\