RFR: 8012902: remove use of global operator new - take 2

Thomas Schatzl thomas.schatzl at oracle.com
Fri Apr 26 00:48:33 PDT 2013


Hi,

On Thu, 2013-04-25 at 23:48 -0700, Yumin Qi wrote:
> HI, all
> 
>    This bug is filed after this bug
>    8010992: Remove calls to global ::operator new[] and new
>    was anti-delta'ed due to testing failure on JVMTI. Now it takes both.
> 
>    http://cr.openjdk.java.net/~minqi/8012902/webrev/


The allocation in

./src/share/vm/gc_implementation/g1/g1RemSet.cpp:    ct_freq = new
jbyte[ct_freq_sz];

seems to have been overlooked. It's in some debug code that is never
used at the moment.

(I used an "egrep "new .*\[.+\]" `find . -name '*.?pp'`" to find that).

Could you fix that one too?

Thanks,
Thomas




More information about the serviceability-dev mailing list