diff src/share/vm/memory/metaspace.hpp @ 6848:8e47bac5643a

7054512: Compress class pointers after perm gen removal Summary: support of compress class pointers in the compilers. Reviewed-by: kvn, twisti
author roland
date Tue, 09 Oct 2012 10:11:38 +0200
parents 8da5e203b993
children 685df3c6f84b
line wrap: on
line diff
--- a/src/share/vm/memory/metaspace.hpp	Mon Oct 08 17:04:00 2012 -0700
+++ b/src/share/vm/memory/metaspace.hpp	Tue Oct 09 10:11:38 2012 +0200
@@ -135,6 +135,8 @@
   MetaWord* expand_and_allocate(size_t size,
                                 MetadataType mdtype);
 
+  static bool is_initialized() { return _class_space_list != NULL; }
+
 #ifndef PRODUCT
   bool contains(const void *ptr) const;
   bool contains_class(const void *ptr) const;