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

2023-04-26 Thread Afshin Zafari
On Mon, 24 Apr 2023 00:23:18 GMT, Kim Barrett wrote: > I believe this may have missed removing the exception specifier from an > operator new inside AnyObj, allocation.cpp, since gcc 12 and up on my end now > refuses to compile HotSpot with this change. I'll create a cleanup change for > this,

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

2023-04-23 Thread Kim Barrett
On Sun, 23 Apr 2023 18:31:57 GMT, Julian Waters wrote: > I believe this may have missed removing the exception specifier from an > operator new inside AnyObj, allocation.cpp, since gcc 12 and up on my end now > refuses to compile HotSpot with this change. I'll create a cleanup change for > thi

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

2023-04-23 Thread Julian Waters
On Thu, 20 Apr 2023 08:41:58 GMT, Afshin Zafari wrote: >> - The `throw()` (i.e., no throw) specifications are removed from the >> instances of `operator new` where _do not_ return `nullptr`. >> >> - The `-fcheck-new` is removed from the gcc compile flags. >> >> - The `operator new` and `operat

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

2023-04-21 Thread Afshin Zafari
On Thu, 20 Apr 2023 08:41:58 GMT, Afshin Zafari wrote: >> - The `throw()` (i.e., no throw) specifications are removed from the >> instances of `operator new` where _do not_ return `nullptr`. >> >> - The `-fcheck-new` is removed from the gcc compile flags. >> >> - The `operator new` and `operat

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

2023-04-20 Thread Coleen Phillimore
On Thu, 20 Apr 2023 08:41:58 GMT, Afshin Zafari wrote: >> - The `throw()` (i.e., no throw) specifications are removed from the >> instances of `operator new` where _do not_ return `nullptr`. >> >> - The `-fcheck-new` is removed from the gcc compile flags. >> >> - The `operator new` and `operat

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

2023-04-20 Thread Kim Barrett
On Thu, 20 Apr 2023 08:41:58 GMT, Afshin Zafari wrote: >> - The `throw()` (i.e., no throw) specifications are removed from the >> instances of `operator new` where _do not_ return `nullptr`. >> >> - The `-fcheck-new` is removed from the gcc compile flags. >> >> - The `operator new` and `operat

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

2023-04-20 Thread Afshin Zafari
On Tue, 18 Apr 2023 18:25:55 GMT, Kim Barrett wrote: >> Afshin Zafari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8305590: Remove nothrow exception specifications from operator new > > src/hotspot/share/jfr/utilities/jfrAllocation.hp

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

2023-04-20 Thread Afshin Zafari
> - The `throw()` (i.e., no throw) specifications are removed from the > instances of `operator new` where _do not_ return `nullptr`. > > - The `-fcheck-new` is removed from the gcc compile flags. > > - The `operator new` and `operator delete` are deleted from `StackObj`. > > - The `GrowableArr