Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/compiledIC.hpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | 891687731b59 |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/code/compiledIC.hpp Wed Oct 16 10:52:41 2013 +0200 +++ b/src/share/vm/code/compiledIC.hpp Tue Nov 05 17:38:04 2013 -0800 @@ -226,7 +226,10 @@ // void set_to_clean(); // Can only be called during a safepoint operation void set_to_monomorphic(CompiledICInfo& info); - void set_to_megamorphic(CallInfo* call_info, Bytecodes::Code bytecode, TRAPS); + + // Returns true if successful and false otherwise. The call can fail if memory + // allocation in the code cache fails. + bool set_to_megamorphic(CallInfo* call_info, Bytecodes::Code bytecode, TRAPS); static void compute_monomorphic_entry(methodHandle method, KlassHandle receiver_klass, bool is_optimized, bool static_bound, CompiledICInfo& info, TRAPS);