Mercurial > hg > truffle
diff src/share/vm/ci/ciInstanceKlass.hpp @ 13021:4d3575d37a07
8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Summary: Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1
Reviewed-by: kvn, twisti
author | iveresov |
---|---|
date | Wed, 30 Oct 2013 22:55:11 -0700 |
parents | d13d7aba8c12 |
children | 096c224171c4 de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstanceKlass.hpp Wed Oct 30 13:14:09 2013 +0100 +++ b/src/share/vm/ci/ciInstanceKlass.hpp Wed Oct 30 22:55:11 2013 -0700 @@ -52,6 +52,7 @@ bool _has_finalizer; bool _has_subklass; bool _has_nonstatic_fields; + bool _has_default_methods; ciFlags _flags; jint _nonstatic_field_size; @@ -171,6 +172,11 @@ } } + bool has_default_methods() { + assert(is_loaded(), "must be loaded"); + return _has_default_methods; + } + ciInstanceKlass* get_canonical_holder(int offset); ciField* get_field_by_offset(int field_offset, bool is_static); ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static);