< prev index next >

src/hotspot/share/memory/allocation.hpp

Print this page
rev 49243 : 8199698: Change 8199275 breaks template instantiation for xlC (and potentially other compliers)

@@ -154,22 +154,20 @@
 class NativeCallStack;
 
 
 template <MEMFLAGS F> class CHeapObj ALLOCATION_SUPER_CLASS_SPEC {
  public:
-  NOINLINE void* operator new(size_t size, const NativeCallStack& stack) throw();
-  NOINLINE void* operator new(size_t size) throw();
-  NOINLINE void* operator new (size_t size, const std::nothrow_t&  nothrow_constant,
+  void* operator new(size_t size, const NativeCallStack& stack) throw();
+  void* operator new(size_t size) throw();
+  void* operator new (size_t size, const std::nothrow_t&  nothrow_constant,
                                const NativeCallStack& stack) throw();
-  NOINLINE void* operator new (size_t size, const std::nothrow_t&  nothrow_constant)
-                               throw();
-  NOINLINE void* operator new [](size_t size, const NativeCallStack& stack) throw();
-  NOINLINE void* operator new [](size_t size) throw();
-  NOINLINE void* operator new [](size_t size, const std::nothrow_t&  nothrow_constant,
+  void* operator new (size_t size, const std::nothrow_t&  nothrow_constant) throw();
+  void* operator new [](size_t size, const NativeCallStack& stack) throw();
+  void* operator new [](size_t size) throw();
+  void* operator new [](size_t size, const std::nothrow_t&  nothrow_constant,
                                const NativeCallStack& stack) throw();
-  NOINLINE void* operator new [](size_t size, const std::nothrow_t&  nothrow_constant)
-                               throw();
+  void* operator new [](size_t size, const std::nothrow_t&  nothrow_constant) throw();
   void  operator delete(void* p);
   void  operator delete [] (void* p);
 };
 
 // Base class for objects allocated on the stack only.
< prev index next >