1.1 --- a/src/share/vm/oops/constMethodKlass.cpp Mon Feb 07 22:19:57 2011 -0800 1.2 +++ b/src/share/vm/oops/constMethodKlass.cpp Tue Feb 08 12:33:19 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 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 @@ -184,21 +184,6 @@ 1.11 } 1.12 return cm_oop->object_size(); 1.13 } 1.14 - 1.15 -int constMethodKlass::oop_update_pointers(ParCompactionManager* cm, oop obj, 1.16 - HeapWord* beg_addr, 1.17 - HeapWord* end_addr) { 1.18 - assert(obj->is_constMethod(), "should be constMethod"); 1.19 - constMethodOop cm_oop = constMethodOop(obj); 1.20 - 1.21 - oop* const beg_oop = MAX2((oop*)beg_addr, cm_oop->oop_block_beg()); 1.22 - oop* const end_oop = MIN2((oop*)end_addr, cm_oop->oop_block_end()); 1.23 - for (oop* cur_oop = beg_oop; cur_oop < end_oop; ++cur_oop) { 1.24 - PSParallelCompact::adjust_pointer(cur_oop); 1.25 - } 1.26 - 1.27 - return cm_oop->object_size(); 1.28 -} 1.29 #endif // SERIALGC 1.30 1.31 // Printing