8029464: assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop()
Summary: Fix the assert check for narrow klass pointer.
Reviewed-by: twisti, kvn
--- a/hotspot/src/share/vm/opto/cfgnode.cpp Fri Jan 10 06:36:18 2014 +0100
+++ b/hotspot/src/share/vm/opto/cfgnode.cpp Mon Jan 13 16:16:25 2014 -0800
@@ -1018,7 +1018,7 @@
!jtkp->klass_is_exact() && // Keep exact interface klass (6894807)
ttkp->is_loaded() && !ttkp->klass()->is_interface() ) {
assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) ||
- ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
+ ft->isa_narrowklass() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
jt = ft;
}
}