changeset 22501:ccc61eeabf49

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
author roland
date Mon, 13 Jan 2014 16:16:25 -0800
parents cde20a0fa906
children f8adbdb312a1
files hotspot/src/share/vm/opto/cfgnode.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
       }
     }