Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 30:65a06b4a51b8
6610906: inexplicable IncompatibleClassChangeError
Summary: dependency check must treat polymorphic interfaces consistently
Reviewed-by: kvn, never, sgoldman
author | jrose |
---|---|
date | Wed, 27 Feb 2008 00:23:37 -0800 |
parents | a61af66fc99e |
children | c7c777385a15 |
comparison
equal
deleted
inserted
replaced
29:d5fc211aea19 | 30:65a06b4a51b8 |
---|---|
1969 deps.print_dependency(); | 1969 deps.print_dependency(); |
1970 klassOop ctxk = deps.context_type(); | 1970 klassOop ctxk = deps.context_type(); |
1971 if (ctxk != NULL) { | 1971 if (ctxk != NULL) { |
1972 Klass* k = Klass::cast(ctxk); | 1972 Klass* k = Klass::cast(ctxk); |
1973 if (k->oop_is_instance() && ((instanceKlass*)k)->is_dependent_nmethod(this)) { | 1973 if (k->oop_is_instance() && ((instanceKlass*)k)->is_dependent_nmethod(this)) { |
1974 tty->print(" [nmethod<=klass]%s", k->external_name()); | 1974 tty->print_cr(" [nmethod<=klass]%s", k->external_name()); |
1975 } | 1975 } |
1976 } | 1976 } |
1977 deps.log_dependency(); // put it into the xml log also | 1977 deps.log_dependency(); // put it into the xml log also |
1978 } | 1978 } |
1979 } | 1979 } |