changeset 4157:2adb5e9f0e9f

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 519fd8f2be27
children ef94d044f198
files src/share/vm/oops/constantPoolOop.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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