hotspot/src/share/vm/memory/allocation.hpp
changeset 41176 ff9f64534cff
parent 38733 2b65f4db449e
child 46625 edefffab74e2
equal deleted inserted replaced
41175:68d3c7c39153 41176:ff9f64534cff
   736 class MmapArrayAllocator : public AllStatic {
   736 class MmapArrayAllocator : public AllStatic {
   737  private:
   737  private:
   738   static size_t size_for(size_t length);
   738   static size_t size_for(size_t length);
   739 
   739 
   740  public:
   740  public:
       
   741   static E* allocate_or_null(size_t length);
   741   static E* allocate(size_t length);
   742   static E* allocate(size_t length);
   742   static void free(E* addr, size_t length);
   743   static void free(E* addr, size_t length);
   743 };
   744 };
   744 
   745 
   745 // Uses malloc:ed memory for all allocations.
   746 // Uses malloc:ed memory for all allocations.