changeset 8468:b0b6bdcf22f0

8180020: Improve SymbolHashMap entry handling Reviewed-by: coleenp, kevinw Contributed-by: rachel.protacio@oracle.com
author shshahma
date Tue, 13 Jun 2017 22:00:40 -0700
parents 08a21c47c565
children 8aa5e0006ee3
files src/share/vm/oops/constantPool.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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