RFR (S): 8238999: Remove MemRegion custom new/delete operator overloads
Ioi Lam
ioi.lam at oracle.com
Fri Feb 14 18:46:31 UTC 2020
Looks good to me.
Thanks
- Ioi
On 2/14/20 9:06 AM, Thomas Schatzl wrote:
> Hi,
>
> On 14.02.20 17:12, Ioi Lam wrote:
>> Hi Thomas,
>>
>> Maybe we can fold this into a MemRegion::create(int size) function?
>>
>> 1750 MemRegion* regions = NEW_C_HEAP_ARRAY(MemRegion, max,
>> mtInternal);
>> 1751 for (int i = 0; i < max; i++) {
>> 1752 ::new (®ions[i]) MemRegion();
>> 1753 }
>>
>
> http://cr.openjdk.java.net/~tschatzl/8238999/webrev.0_to_1
> http://cr.openjdk.java.net/~tschatzl/8238999/webrev.1
>
> Thanks,
> Thomas :)
>
More information about the hotspot-runtime-dev
mailing list