Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/freeBlockDictionary.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 | d2a62e0f25eb |
children | 685df3c6f84b |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
46 dictionarySplayTree = 1, | 46 dictionarySplayTree = 1, |
47 dictionarySkipList = 2 | 47 dictionarySkipList = 2 |
48 }; | 48 }; |
49 | 49 |
50 private: | 50 private: |
51 // This field is added and can be set to point to the | |
52 // the Mutex used to synchronize access to the | |
53 // dictionary so that assertion checking can be done. | |
54 // For example it is set to point to _parDictionaryAllocLock. | |
51 NOT_PRODUCT(Mutex* _lock;) | 55 NOT_PRODUCT(Mutex* _lock;) |
52 | 56 |
53 public: | 57 public: |
54 virtual void remove_chunk(Chunk* fc) = 0; | 58 virtual void remove_chunk(Chunk* fc) = 0; |
55 virtual Chunk* get_chunk(size_t size, Dither dither = atLeast) = 0; | 59 virtual Chunk* get_chunk(size_t size, Dither dither = atLeast) = 0; |