Mercurial > hg > truffle
diff src/share/vm/memory/metaspace.hpp @ 6885:685df3c6f84b
7045397: NPG: Add freelists to class loader arenas.
Reviewed-by: coleenp, stefank, jprovino, ohair
author | jmasa |
---|---|
date | Tue, 18 Sep 2012 23:35:42 -0700 |
parents | 8e47bac5643a |
children | 6bc207d87e5d |
line wrap: on
line diff
--- a/src/share/vm/memory/metaspace.hpp Fri Oct 19 11:26:17 2012 -0700 +++ b/src/share/vm/memory/metaspace.hpp Tue Sep 18 23:35:42 2012 -0700 @@ -57,12 +57,10 @@ // class ClassLoaderData; +class Metablock; class MetaWord; class Mutex; class outputStream; -class FreeChunk; -template <class Chunk_t> class FreeList; -template <class Chunk_t> class BinaryTreeDictionary; class SpaceManager; // Metaspaces each have a SpaceManager and allocations @@ -128,7 +126,7 @@ size_t capacity_words(MetadataType mdtype) const; size_t waste_words(MetadataType mdtype) const; - static MetaWord* allocate(ClassLoaderData* loader_data, size_t size, + static Metablock* allocate(ClassLoaderData* loader_data, size_t size, bool read_only, MetadataType mdtype, TRAPS); void deallocate(MetaWord* ptr, size_t byte_size, bool is_class);