From 9873aa74376f4e4a1048c6f070f7d33a38bf3fff Mon Sep 17 00:00:00 2001 From: shshahma Date: Tue, 13 Jun 2017 22:00:40 -0700 Subject: [PATCH] 8180020: Improve SymbolHashMap entry handling Reviewed-by: coleenp, kevinw Contributed-by: rachel.protacio@oracle.com --- src/share/vm/oops/constantPool.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/share/vm/oops/constantPool.hpp b/src/share/vm/oops/constantPool.hpp index 497df53d7..f170decc4 100644 --- a/src/share/vm/oops/constantPool.hpp +++ b/src/share/vm/oops/constantPool.hpp @@ -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 @@ class SymbolHashMap: public CHeapObj { delete(cur); } } - delete _buckets; + FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets, mtSymbol); } }; // End SymbolHashMap class -- GitLab