< prev index next >

src/hotspot/share/code/compiledMethod.hpp

Print this page

        

*** 73,83 **** }; class nmethod; // cache pc descs found in earlier inquiries ! class PcDescCache VALUE_OBJ_CLASS_SPEC { friend class VMStructs; private: enum { cache_size = 4 }; // The array elements MUST be volatile! Several threads may modify // and read from the cache concurrently. find_pc_desc_internal has --- 73,83 ---- }; class nmethod; // cache pc descs found in earlier inquiries ! class PcDescCache { friend class VMStructs; private: enum { cache_size = 4 }; // The array elements MUST be volatile! Several threads may modify // and read from the cache concurrently. find_pc_desc_internal has
*** 107,117 **** address code_begin() const { return _code_begin; } PcDesc* scopes_pcs_begin() const { return _lower; } PcDesc* scopes_pcs_end() const { return _upper; } }; ! class PcDescContainer VALUE_OBJ_CLASS_SPEC { private: PcDescCache _pc_desc_cache; public: PcDescContainer() {} --- 107,117 ---- address code_begin() const { return _code_begin; } PcDesc* scopes_pcs_begin() const { return _lower; } PcDesc* scopes_pcs_end() const { return _upper; } }; ! class PcDescContainer { private: PcDescCache _pc_desc_cache; public: PcDescContainer() {}
< prev index next >