1.1 --- a/src/share/vm/runtime/thread.hpp Fri Sep 06 09:55:38 2013 +0100 1.2 +++ b/src/share/vm/runtime/thread.hpp Sat Sep 14 20:40:34 2013 +0100 1.3 @@ -113,8 +113,9 @@ 1.4 // Support for forcing alignment of thread objects for biased locking 1.5 void* _real_malloc_address; 1.6 public: 1.7 - void* operator new(size_t size) { return allocate(size, true); } 1.8 - void* operator new(size_t size, const std::nothrow_t& nothrow_constant) { return allocate(size, false); } 1.9 + void* operator new(size_t size) throw() { return allocate(size, true); } 1.10 + void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() { 1.11 + return allocate(size, false); } 1.12 void operator delete(void* p); 1.13 1.14 protected: