< prev index next >
src/hotspot/share/code/compiledMethod.hpp
static address get_deopt_original_pc(const frame* fr);
// Inline cache support for class unloading and nmethod unloading
private:
! void cleanup_inline_caches_impl(bool unloading_occurred, bool clean_all);
public:
! void cleanup_inline_caches(bool clean_all) {
! // Serial version used by sweeper and whitebox test
! cleanup_inline_caches_impl(false, clean_all);
! }
virtual void clear_inline_caches();
void clear_ic_stubs();
// Verify and count cached icholder relocations.
static address get_deopt_original_pc(const frame* fr);
// Inline cache support for class unloading and nmethod unloading
private:
! bool cleanup_inline_caches_impl(bool unloading_occurred, bool clean_all);
!
public:
! // Serial version used by sweeper and whitebox test
! void cleanup_inline_caches(bool clean_all);
virtual void clear_inline_caches();
void clear_ic_stubs();
// Verify and count cached icholder relocations.
***************
// GC support
protected:
address oops_reloc_begin() const;
private:
! void static clean_ic_if_metadata_is_dead(CompiledIC *ic);
void clean_ic_stubs();
public:
// GC unloading support
// Cleans unloaded klasses and unloaded nmethods in inline caches
virtual bool is_unloading() = 0;
! void unload_nmethod_caches(bool class_unloading_occurred);
virtual void do_unloading(bool unloading_occurred) { }
private:
PcDesc* find_pc_desc(address pc, bool approximate) {
return _pc_desc_container.find_pc_desc(pc, approximate, PcDescSearch(code_begin(), scopes_pcs_begin(), scopes_pcs_end()));
// GC support
protected:
address oops_reloc_begin() const;
private:
! bool static clean_ic_if_metadata_is_dead(CompiledIC *ic);
void clean_ic_stubs();
public:
// GC unloading support
// Cleans unloaded klasses and unloaded nmethods in inline caches
virtual bool is_unloading() = 0;
! bool unload_nmethod_caches(bool class_unloading_occurred);
virtual void do_unloading(bool unloading_occurred) { }
private:
PcDesc* find_pc_desc(address pc, bool approximate) {
return _pc_desc_container.find_pc_desc(pc, approximate, PcDescSearch(code_begin(), scopes_pcs_begin(), scopes_pcs_end()));
< prev index next >