< prev index next >

src/share/vm/memory/allocation.hpp

Print this page

        

@@ -143,12 +143,13 @@
   mtTest              = 0x0D,  // Test type for verifying NMT
   mtTracing           = 0x0E,  // memory used for Tracing
   mtLogging           = 0x0F,  // memory for logging
   mtArguments         = 0x10,  // memory for argument processing
   mtModule            = 0x11,  // memory for module processing
-  mtNone              = 0x12,  // undefined
-  mt_number_of_types  = 0x13   // number of memory types (mtDontTrack
+  mtValueTypes        = 0x12,  // memory for buffered value types
+  mtNone              = 0x13,  // undefined
+  mt_number_of_types  = 0x14   // number of memory types (mtDontTrack
                                  // is not included as validate type)
 };
 
 typedef MemoryType MEMFLAGS;
 

@@ -751,6 +752,12 @@
 
   static E* allocate(size_t length);
   static void free(E* addr, size_t length);
 };
 
+template <class E, MEMFLAGS F> class CMmapObj ALLOCATION_SUPER_CLASS_SPEC {
+public:
+  void* operator new(size_t size);
+  void  operator delete(void* address, size_t length);
+};
+
 #endif // SHARE_VM_MEMORY_ALLOCATION_HPP
< prev index next >