RFR: 8305590: Remove nothrow exception specifications from operator new [v2]

Afshin Zafari duke at openjdk.org
Wed Apr 19 10:25:56 UTC 2023


On Tue, 18 Apr 2023 18:59:31 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> src/hotspot/share/runtime/thread.hpp line 203:
>> 
>>> 201:   static bool is_JavaThread_protected_by_TLH(const JavaThread* target);
>>> 202: 
>>> 203:   void  operator delete(void* p);
>> 
>> Should you have removed delete and Thread::allocate() also?  is Thread::allocate now unused?
>
> I was thinking the same thing.

Removed and tested.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13498#discussion_r1171133528



More information about the build-dev mailing list