src/share/vm/memory/metaspace.hpp

Print this page
rev 6083 : 8036699: Add trace event when a metaspace allocation fails

@@ -239,10 +239,12 @@
   static void purge();
 
   static void report_metadata_oome(ClassLoaderData* loader_data, size_t word_size,
                                    MetadataType mdtype, TRAPS);
 
+  static const char* metadata_type_name(Metaspace::MetadataType mdtype);
+
   void print_on(outputStream* st) const;
   // Debugging support
   void verify();
 
   class AllocRecordClosure :  public StackObj {