< prev index next >
src/hotspot/share/memory/allocation.cpp
Print this page
*** 43,57 ****
void* StackObj::operator new(size_t size) throw() { ShouldNotCallThis(); return 0; }
void StackObj::operator delete(void* p) { ShouldNotCallThis(); }
void* StackObj::operator new [](size_t size) throw() { ShouldNotCallThis(); return 0; }
void StackObj::operator delete [](void* p) { ShouldNotCallThis(); }
- void* _ValueObj::operator new(size_t size) throw() { ShouldNotCallThis(); return 0; }
- void _ValueObj::operator delete(void* p) { ShouldNotCallThis(); }
- void* _ValueObj::operator new [](size_t size) throw() { ShouldNotCallThis(); return 0; }
- void _ValueObj::operator delete [](void* p) { ShouldNotCallThis(); }
-
void* MetaspaceObj::operator new(size_t size, ClassLoaderData* loader_data,
size_t word_size,
MetaspaceObj::Type type, TRAPS) throw() {
// Klass has it's own operator new
return Metaspace::allocate(loader_data, word_size, type, THREAD);
--- 43,52 ----
< prev index next >