hotspot/src/share/vm/memory/restore.cpp

Print this page
rev 611 : Merge

@@ -1,10 +1,10 @@
 #ifdef USE_PRAGMA_IDENT_SRC
 #pragma ident "@(#)restore.cpp  1.14 07/05/05 17:05:44 JVM"
 #endif
 /*
- * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -51,10 +51,12 @@
            "hit tag while initializing oops.");
     assert(SharedSkipVerify || obj->is_oop_or_null(), "invalid oop");
     *p = obj;
   }
 
+  void do_oop(narrowOop* p) { ShouldNotReachHere(); }
+
   void do_ptr(void** p) {
     assert(*p == NULL, "initializing previous initialized pointer.");
     void* obj = nextOop();
     assert((intptr_t)obj >= 0 || (intptr_t)obj < -100,
            "hit tag while initializing ptrs.");