# HG changeset patch # User shshahma # Date 1497416440 25200 # Node ID b0b6bdcf22f0c2812c38b99db93f3c4f561c2507 # Parent 08a21c47c56561bd073c86fb2855f3f91d754251 8180020: Improve SymbolHashMap entry handling Reviewed-by: coleenp, kevinw Contributed-by: rachel.protacio@oracle.com diff -r 08a21c47c565 -r b0b6bdcf22f0 src/share/vm/oops/constantPool.hpp --- a/src/share/vm/oops/constantPool.hpp Fri Jun 02 15:25:47 2017 -0700 +++ b/src/share/vm/oops/constantPool.hpp Tue Jun 13 22:00:40 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, 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 @@ -983,7 +983,7 @@ delete(cur); } } - delete _buckets; + FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets, mtSymbol); } }; // End SymbolHashMap class