RFR: 8010992: Remove calls to global ::operator new[] and new
Zhengyu Gu
zhengyu.gu at oracle.com
Fri Apr 12 11:07:52 PDT 2013
I saw an empty email, resend.
>> cardTableModRefBS.cpp
>> #87 and #88, why set_start(NULL) are needed?
>>
> This is default constructor does, here just copy that code. Since we
> did not call constructor by using this MACRO. It is a _ValueObj,
> should not call new, but I think we can use NEW_C_HEAP_OBJ3, which
> will call ctors.
NEW_C_HEAP_OBJECT_ARRAY macro does invoke ctor ... that is what
allocation.hpp #618 does.
Thanks,
-Zhengyu
More information about the hotspot-runtime-dev
mailing list