< prev index next >

src/share/vm/code/dependencies.hpp

Print this page

        

@@ -735,17 +735,17 @@
 // 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;
+  Klass* _new_type;
 
   void initialize();
 
  public:
   // notes the new type, marks it and all its super-types
-  KlassDepChange(KlassHandle new_type)
+  KlassDepChange(Klass* new_type)
     : _new_type(new_type)
   {
     initialize();
   }
 

@@ -757,11 +757,11 @@
 
   virtual void mark_for_deoptimization(nmethod* nm) {
     nm->mark_for_deoptimization(/*inc_recompile_counts=*/true);
   }
 
-  Klass* new_type() { return _new_type(); }
+  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 >