hotspot/src/share/vm/utilities/hashtable.hpp
changeset 44897 1d9f4d0c9927
parent 42073 89e056fd82cc
child 46435 3f6cac9867d4
child 45171 44927fb4cd60
equal deleted inserted replaced
44896:2ef5ea002441 44897:1d9f4d0c9927
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   292   }
   292   }
   293 
   293 
   294 };
   294 };
   295 
   295 
   296 template <class T, MEMFLAGS F> class RehashableHashtable : public Hashtable<T, F> {
   296 template <class T, MEMFLAGS F> class RehashableHashtable : public Hashtable<T, F> {
       
   297  friend class VMStructs;
   297  protected:
   298  protected:
   298 
   299 
   299   enum {
   300   enum {
   300     rehash_count = 100,
   301     rehash_count = 100,
   301     rehash_multiple = 60
   302     rehash_multiple = 60