RFR: 8231356: Fix broken ResourceObj::operator new[] in debug builds [v2]
Kim Barrett
kbarrett at openjdk.java.net
Tue Sep 7 01:26:39 UTC 2021
On Mon, 6 Sep 2021 14:00:12 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
>> src/hotspot/share/memory/allocation.hpp line 444:
>>
>>> 442: }
>>> 443:
>>> 444: void* operator new [](size_t size) throw() = delete;
>>
>> I think it should suffice to `delete` this one, with the others completely removed. I think that name lookup will find this, and one will either get an error because the arguments don't match or because they do match to a deleted function.
>
> Sorry for the delay, can I keep all `= delete`? I have an idea how to fix them in the future.
Sure.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5055
More information about the hotspot-runtime-dev
mailing list