8180020: Improve SymbolHashMap entry handling

Tue, 13 Jun 2017 22:00:40 -0700

author
shshahma
date
Tue, 13 Jun 2017 22:00:40 -0700
changeset 8961
b0b6bdcf22f0
parent 8960
08a21c47c565
child 8962
8aa5e0006ee3

8180020: Improve SymbolHashMap entry handling
Reviewed-by: coleenp, kevinw
Contributed-by: rachel.protacio@oracle.com

src/share/vm/oops/constantPool.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/oops/constantPool.hpp	Fri Jun 02 15:25:47 2017 -0700
     1.2 +++ b/src/share/vm/oops/constantPool.hpp	Tue Jun 13 22:00:40 2017 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -983,7 +983,7 @@
    1.11          delete(cur);
    1.12        }
    1.13      }
    1.14 -    delete _buckets;
    1.15 +    FREE_C_HEAP_ARRAY(SymbolHashMapBucket, _buckets, mtSymbol);
    1.16    }
    1.17  }; // End SymbolHashMap class
    1.18  

mercurial