1.1 --- a/src/share/vm/oops/methodDataKlass.cpp Mon Feb 07 22:19:57 2011 -0800 1.2 +++ b/src/share/vm/oops/methodDataKlass.cpp Tue Feb 08 12:33:19 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2000, 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 @@ -188,25 +188,6 @@ 1.11 } 1.12 return m->object_size(); 1.13 } 1.14 - 1.15 -int 1.16 -methodDataKlass::oop_update_pointers(ParCompactionManager* cm, oop obj, 1.17 - HeapWord* beg_addr, HeapWord* end_addr) { 1.18 - assert(obj->is_methodData(), "should be method data"); 1.19 - 1.20 - oop* p; 1.21 - methodDataOop m = methodDataOop(obj); 1.22 - 1.23 - p = m->adr_method(); 1.24 - PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 1.25 - 1.26 - ResourceMark rm; 1.27 - ProfileData* data; 1.28 - for (data = m->first_data(); m->is_valid(data); data = m->next_data(data)) { 1.29 - data->update_pointers(beg_addr, end_addr); 1.30 - } 1.31 - return m->object_size(); 1.32 -} 1.33 #endif // SERIALGC 1.34 1.35 #ifndef PRODUCT