Mercurial > hg > truffle
diff src/share/vm/opto/compile.hpp @ 18003:dda2ae6f9557
8046542: [I.finalize() calls from methods compiled by C1 do not cause IllegalAccessError on Sparc
Summary: call to Object.finalize() sometimes allowed by compilers on array type
Reviewed-by: iveresov, vlivanov
author | roland |
---|---|
date | Wed, 02 Jul 2014 22:54:18 +0200 |
parents | 0bf37f737702 |
children | 52b4284cb496 411e30e5fbb8 |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.hpp Thu Jul 03 12:59:11 2014 -0700 +++ b/src/share/vm/opto/compile.hpp Wed Jul 02 22:54:18 2014 +0200 @@ -854,8 +854,8 @@ // Helper functions to identify inlining potential at call-site ciMethod* optimize_virtual_call(ciMethod* caller, int bci, ciInstanceKlass* klass, - ciMethod* callee, const TypeOopPtr* receiver_type, - bool is_virtual, + ciKlass* holder, ciMethod* callee, + const TypeOopPtr* receiver_type, bool is_virtual, bool &call_does_dispatch, int &vtable_index); ciMethod* optimize_inlining(ciMethod* caller, int bci, ciInstanceKlass* klass, ciMethod* callee, const TypeOopPtr* receiver_type);