comparison src/share/vm/opto/compile.cpp @ 6888:cfe522e6461c

8000623: tools/javac/Diagnostics/6769027/T6769027.java crashes in PSPromotionManager::copy_to_survivor_space Summary: Fix type of method pointer load from vtable. Reviewed-by: twisti, johnc, roland
author kvn
date Wed, 17 Oct 2012 12:09:32 -0700
parents f6badecb7ea7
children 2aff40cb4703
comparison
equal deleted inserted replaced
6861:58fbf2da3c16 6888:cfe522e6461c
3045 switch (type()) { 3045 switch (type()) {
3046 case T_FLOAT: return (_v._value.i == other._v._value.i); 3046 case T_FLOAT: return (_v._value.i == other._v._value.i);
3047 case T_LONG: 3047 case T_LONG:
3048 case T_DOUBLE: return (_v._value.j == other._v._value.j); 3048 case T_DOUBLE: return (_v._value.j == other._v._value.j);
3049 case T_OBJECT: 3049 case T_OBJECT:
3050 case T_METADATA: return (_v._metadata == other._v._metadata);
3051 case T_ADDRESS: return (_v._value.l == other._v._value.l); 3050 case T_ADDRESS: return (_v._value.l == other._v._value.l);
3052 case T_VOID: return (_v._value.l == other._v._value.l); // jump-table entries 3051 case T_VOID: return (_v._value.l == other._v._value.l); // jump-table entries
3052 case T_METADATA: return (_v._metadata == other._v._metadata);
3053 default: ShouldNotReachHere(); 3053 default: ShouldNotReachHere();
3054 } 3054 }
3055 return false; 3055 return false;
3056 } 3056 }
3057 3057