--- old/hotspot/src/share/vm/memory/restore.cpp 2009-08-01 04:12:27.958643590 +0100 +++ new/hotspot/src/share/vm/memory/restore.cpp 2009-08-01 04:12:27.883749728 +0100 @@ -2,7 +2,7 @@ #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 @@ -53,6 +53,8 @@ *p = obj; } + void do_oop(narrowOop* p) { ShouldNotReachHere(); } + void do_ptr(void** p) { assert(*p == NULL, "initializing previous initialized pointer."); void* obj = nextOop();