< prev index next >

src/share/vm/code/dependencies.hpp

Print this page

        

*** 735,751 **** // super types can be context types for a relevant dependency, which the // new type could invalidate. class KlassDepChange : public DepChange { private: // each change set is rooted in exactly one new type (at present): ! KlassHandle _new_type; void initialize(); public: // notes the new type, marks it and all its super-types ! KlassDepChange(KlassHandle new_type) : _new_type(new_type) { initialize(); } --- 735,751 ---- // super types can be context types for a relevant dependency, which the // new type could invalidate. class KlassDepChange : public DepChange { private: // each change set is rooted in exactly one new type (at present): ! Klass* _new_type; void initialize(); public: // notes the new type, marks it and all its super-types ! KlassDepChange(Klass* new_type) : _new_type(new_type) { initialize(); }
*** 757,767 **** virtual void mark_for_deoptimization(nmethod* nm) { nm->mark_for_deoptimization(/*inc_recompile_counts=*/true); } ! Klass* new_type() { return _new_type(); } // involves_context(k) is true if k is new_type or any of the super types bool involves_context(Klass* k); }; --- 757,767 ---- virtual void mark_for_deoptimization(nmethod* nm) { nm->mark_for_deoptimization(/*inc_recompile_counts=*/true); } ! Klass* new_type() { return _new_type; } // involves_context(k) is true if k is new_type or any of the super types bool involves_context(Klass* k); };
< prev index next >