提交 9873aa74 编写于 作者: S shshahma

8180020: Improve SymbolHashMap entry handling

Reviewed-by: coleenp, kevinw
Contributed-by: rachel.protacio@oracle.com
上级 083964c4
/* /*
* 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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -983,7 +983,7 @@ class SymbolHashMap: public CHeapObj<mtSymbol> { ...@@ -983,7 +983,7 @@ class SymbolHashMap: public CHeapObj<mtSymbol> {
delete(cur); delete(cur);
} }
} }
delete _buckets; FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets, mtSymbol);
} }
}; // End SymbolHashMap class }; // End SymbolHashMap class
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册