Skip to content

Commit

Permalink
8305590: Remove nothrow exception specifications from operator new
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin-zafari committed Apr 18, 2023
1 parent 1c6bcf7 commit 8294217
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hotspot/share/runtime/thread.hpp
Expand Up @@ -200,9 +200,6 @@ class Thread: public ThreadShadow {
// with the calling Thread?
static bool is_JavaThread_protected_by_TLH(const JavaThread* target);

void* operator new(size_t size) { return allocate(size, true); }
void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() {
return allocate(size, false); }
void operator delete(void* p);

protected:
Expand Down

0 comments on commit 8294217

Please sign in to comment.