Mercurial > hg > graal-compiler
comparison src/share/vm/memory/binaryTreeDictionary.hpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | a297b0e14605 |
children | 685df3c6f84b |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
162 | 162 |
163 template <class Chunk> | 163 template <class Chunk> |
164 class BinaryTreeDictionary: public FreeBlockDictionary<Chunk> { | 164 class BinaryTreeDictionary: public FreeBlockDictionary<Chunk> { |
165 friend class VMStructs; | 165 friend class VMStructs; |
166 bool _splay; | 166 bool _splay; |
167 bool _adaptive_freelists; | |
167 size_t _total_size; | 168 size_t _total_size; |
168 size_t _total_free_blocks; | 169 size_t _total_free_blocks; |
169 TreeList<Chunk>* _root; | 170 TreeList<Chunk>* _root; |
170 bool _adaptive_freelists; | |
171 | 171 |
172 // private accessors | 172 // private accessors |
173 bool splay() const { return _splay; } | 173 bool splay() const { return _splay; } |
174 void set_splay(bool v) { _splay = v; } | 174 void set_splay(bool v) { _splay = v; } |
175 void set_total_size(size_t v) { _total_size = v; } | 175 void set_total_size(size_t v) { _total_size = v; } |