< prev index next >

src/share/vm/memory/allocation.hpp

Print this page
rev 11974 : imported patch 8159422-mikael-review

@@ -736,10 +736,11 @@
 class MmapArrayAllocator : public AllStatic {
  private:
   static size_t size_for(size_t length);
 
  public:
+  static E* allocate_or_null(size_t length);
   static E* allocate(size_t length);
   static void free(E* addr, size_t length);
 };
 
 // Uses malloc:ed memory for all allocations.
< prev index next >