< prev index next >

src/share/vm/utilities/hashtable.hpp

Print this page

        

@@ -57,14 +57,14 @@
 
   // Windows IA64 compiler requires subclasses to be able to access these
 protected:
   // Entry objects should not be created, they should be taken from the
   // free list with BasicHashtable.new_entry().
-  BasicHashtableEntry() { ShouldNotReachHere(); }
+  BasicHashtableEntry()  { guarantee(false, "Should not be called"); }
   // Entry objects should not be destroyed.  They should be placed on
   // the free list instead with BasicHashtable.free_entry().
-  ~BasicHashtableEntry() { ShouldNotReachHere(); }
+  ~BasicHashtableEntry() { guarantee(false, "Should not be called"); }
 
 public:
 
   unsigned int hash() const             { return _hash; }
   void set_hash(unsigned int hash)      { _hash = hash; }
< prev index next >