< prev index next >

src/hotspot/share/code/compiledIC.hpp


*** 270,281 **** // Note: We do not provide any direct access to the stub code, to prevent parts of the code // to manipulate the inline cache in MT-unsafe ways. // // They all takes a TRAP argument, since they can cause a GC if the inline-cache buffer is full. // ! void set_to_clean(bool in_use = true); ! void set_to_monomorphic(CompiledICInfo& info); void clear_ic_stub(); // 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); --- 270,281 ---- // Note: We do not provide any direct access to the stub code, to prevent parts of the code // to manipulate the inline cache in MT-unsafe ways. // // They all takes a TRAP argument, since they can cause a GC if the inline-cache buffer is full. // ! bool set_to_clean(bool in_use = true); ! bool set_to_monomorphic(CompiledICInfo& info); void clear_ic_stub(); // 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); ***************
*** 370,380 **** public: // Clean static call (will force resolving on next use) virtual address destination() const = 0; // Clean static call (will force resolving on next use) ! void set_to_clean(bool in_use = true); // Set state. The entry must be the same, as computed by compute_entry. // Computation and setting is split up, since the actions are separate during // a OptoRuntime::resolve_xxx. void set(const StaticCallInfo& info); --- 370,380 ---- public: // Clean static call (will force resolving on next use) virtual address destination() const = 0; // Clean static call (will force resolving on next use) ! bool set_to_clean(bool in_use = true); // Set state. The entry must be the same, as computed by compute_entry. // Computation and setting is split up, since the actions are separate during // a OptoRuntime::resolve_xxx. void set(const StaticCallInfo& info);
< prev index next >