# HG changeset patch # User shshahma # Date 1497416440 25200 # Node ID 2adb5e9f0e9f21e19249eb856fa9890de7e0da62 # Parent 519fd8f2be27eb46eed1f23b7eb26c05cd33e831 8180020: Improve SymbolHashMap entry handling Reviewed-by: coleenp, kevinw Contributed-by: rachel.protacio@oracle.com diff -r 519fd8f2be27 -r 2adb5e9f0e9f src/share/vm/oops/constantPoolOop.hpp --- a/src/share/vm/oops/constantPoolOop.hpp Thu Dec 21 18:17:55 2017 +0300 +++ b/src/share/vm/oops/constantPoolOop.hpp Tue Jun 13 22:00:40 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -859,7 +859,7 @@ delete(cur); } } - delete _buckets; + FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets); } }; // End SymbolHashMap class