Mercurial > hg > truffle
comparison src/share/vm/memory/allocation.hpp @ 14411:bdd155477289
8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
author | goetz |
---|---|
date | Thu, 22 Aug 2013 09:39:54 -0700 |
parents | cf9d71d3e474 |
children | e2722a66aba7 |
comparison
equal
deleted
inserted
replaced
14410:f42f2e2a1518 | 14411:bdd155477289 |
---|---|
218 // Calling new or delete will result in fatal error. | 218 // Calling new or delete will result in fatal error. |
219 | 219 |
220 class StackObj ALLOCATION_SUPER_CLASS_SPEC { | 220 class StackObj ALLOCATION_SUPER_CLASS_SPEC { |
221 private: | 221 private: |
222 void* operator new(size_t size); | 222 void* operator new(size_t size); |
223 void* operator new [](size_t size); | |
224 #ifdef __IBMCPP__ | |
225 public: | |
226 #endif | |
223 void operator delete(void* p); | 227 void operator delete(void* p); |
224 void* operator new [](size_t size); | |
225 void operator delete [](void* p); | 228 void operator delete [](void* p); |
226 }; | 229 }; |
227 | 230 |
228 // Base class for objects used as value objects. | 231 // Base class for objects used as value objects. |
229 // Calling new or delete will result in fatal error. | 232 // Calling new or delete will result in fatal error. |