1.1 --- a/src/share/vm/oops/cpCacheKlass.cpp Mon Feb 07 22:19:57 2011 -0800 1.2 +++ b/src/share/vm/oops/cpCacheKlass.cpp Tue Feb 08 12:33:19 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 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 @@ -203,25 +203,6 @@ 1.11 1.12 return cache->object_size(); 1.13 } 1.14 - 1.15 -int 1.16 -constantPoolCacheKlass::oop_update_pointers(ParCompactionManager* cm, oop obj, 1.17 - HeapWord* beg_addr, 1.18 - HeapWord* end_addr) { 1.19 - assert(obj->is_constantPoolCache(), "obj must be constant pool cache"); 1.20 - constantPoolCacheOop cache = (constantPoolCacheOop)obj; 1.21 - 1.22 - // Iteration over constant pool cache instance variables 1.23 - oop* p; 1.24 - p = (oop*)cache->constant_pool_addr(); 1.25 - PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 1.26 - 1.27 - // Iteration over constant pool cache entries 1.28 - for (int i = 0; i < cache->length(); ++i) { 1.29 - cache->entry_at(i)->update_pointers(beg_addr, end_addr); 1.30 - } 1.31 - return cache->object_size(); 1.32 -} 1.33 #endif // SERIALGC 1.34 1.35 void constantPoolCacheKlass::oop_print_on(oop obj, outputStream* st) {