< prev index next >

src/hotspot/share/code/compiledMethod.hpp

Print this page

        

*** 48,62 **** address _pc[cache_size]; address _handler[cache_size]; volatile int _count; ExceptionCache* _next; ! address pc_at(int index) { assert(index >= 0 && index < count(),""); return _pc[index]; } void set_pc_at(int index, address a) { assert(index >= 0 && index < cache_size,""); _pc[index] = a; } ! address handler_at(int index) { assert(index >= 0 && index < count(),""); return _handler[index]; } void set_handler_at(int index, address a) { assert(index >= 0 && index < cache_size,""); _handler[index] = a; } ! int count(); // increment_count is only called under lock, but there may be concurrent readers. void increment_count(); public: --- 48,64 ---- address _pc[cache_size]; address _handler[cache_size]; volatile int _count; ExceptionCache* _next; ! inline address pc_at(int index); void set_pc_at(int index, address a) { assert(index >= 0 && index < cache_size,""); _pc[index] = a; } ! ! inline address handler_at(int index); void set_handler_at(int index, address a) { assert(index >= 0 && index < cache_size,""); _handler[index] = a; } ! ! inline int count(); // increment_count is only called under lock, but there may be concurrent readers. void increment_count(); public:
*** 304,316 **** address deopt_handler_begin() const { return _deopt_handler_begin; } virtual address get_original_pc(const frame* fr) = 0; // Deopt // Return true is the PC is one would expect if the frame is being deopted. ! bool is_deopt_pc (address pc) { return is_deopt_entry(pc) || is_deopt_mh_entry(pc); } bool is_deopt_mh_entry(address pc) { return pc == deopt_mh_handler_begin(); } ! bool is_deopt_entry(address pc); virtual bool can_convert_to_zombie() = 0; virtual const char* compile_kind() const = 0; virtual int get_state() const = 0; --- 306,318 ---- address deopt_handler_begin() const { return _deopt_handler_begin; } virtual address get_original_pc(const frame* fr) = 0; // Deopt // Return true is the PC is one would expect if the frame is being deopted. ! inline bool is_deopt_pc(address pc); bool is_deopt_mh_entry(address pc) { return pc == deopt_mh_handler_begin(); } ! inline bool is_deopt_entry(address pc); virtual bool can_convert_to_zombie() = 0; virtual const char* compile_kind() const = 0; virtual int get_state() const = 0;
< prev index next >