1.1 --- a/src/share/vm/oops/methodKlass.cpp Mon Feb 07 22:19:57 2011 -0800 1.2 +++ b/src/share/vm/oops/methodKlass.cpp Tue Feb 08 12:33:19 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -214,27 +214,6 @@ 1.11 #endif // COMPILER2 1.12 return m->object_size(); 1.13 } 1.14 - 1.15 -int methodKlass::oop_update_pointers(ParCompactionManager* cm, oop obj, 1.16 - HeapWord* beg_addr, HeapWord* end_addr) { 1.17 - assert(obj->is_method(), "should be method"); 1.18 - 1.19 - oop* p; 1.20 - methodOop m = methodOop(obj); 1.21 - 1.22 - p = m->adr_constMethod(); 1.23 - PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 1.24 - p = m->adr_constants(); 1.25 - PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 1.26 - 1.27 -#ifdef COMPILER2 1.28 - if (m->method_data() != NULL) { 1.29 - p = m->adr_method_data(); 1.30 - PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 1.31 - } 1.32 -#endif // COMPILER2 1.33 - return m->object_size(); 1.34 -} 1.35 #endif // SERIALGC 1.36 1.37 #ifndef PRODUCT