src/share/vm/oops/constantPool.hpp

changeset 8961
b0b6bdcf22f0
parent 5971
b8860472c377
child 9041
95a08233f46c
child 9344
ad057f2e3211
equal deleted inserted replaced
8960:08a21c47c565 8961:b0b6bdcf22f0
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
981 for (SymbolHashMapEntry* cur = bucket(i); cur != NULL; cur = next) { 981 for (SymbolHashMapEntry* cur = bucket(i); cur != NULL; cur = next) {
982 next = cur->next(); 982 next = cur->next();
983 delete(cur); 983 delete(cur);
984 } 984 }
985 } 985 }
986 delete _buckets; 986 FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets, mtSymbol);
987 } 987 }
988 }; // End SymbolHashMap class 988 }; // End SymbolHashMap class
989 989
990 #endif // SHARE_VM_OOPS_CONSTANTPOOLOOP_HPP 990 #endif // SHARE_VM_OOPS_CONSTANTPOOLOOP_HPP

mercurial