< prev index next >

src/hotspot/share/memory/metaspace.hpp

Print this page
*** 107,10 ***
--- 107,13 ---
    static size_t commit_alignment_words();
  
    // The largest possible single allocation
    static size_t max_allocation_word_size();
  
+   // The largest allowed size for class space
+   LP64_ONLY(static size_t max_class_space_size();)
+ 
    static MetaWord* allocate(ClassLoaderData* loader_data, size_t word_size,
                              MetaspaceObj::Type type, TRAPS);
  
    // Non-TRAPS version of allocate which can be called by a non-Java thread, that returns
    // NULL on failure.
< prev index next >