RFR: CODETOOLS-7903210: JOL: Minor code cleanups [v2]

Steafan Chou duke at openjdk.java.net
Tue Jun 14 01:37:01 UTC 2022


On Mon, 13 Jun 2022 16:35:47 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Steafan Chou has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   revert GraphInstanceBench 49 line.
>
> jol-benchmarks/src/main/java/org/openjdk/jol/GraphInstanceBench.java line 49:
> 
>> 47:         arr = new Integer[size];
>> 48:         for (int c = 0; c < size; c++) {
>> 49:             arr[c] = c;
> 
> This boxing was intentional, please revert this hunk.

I am revert this hunk,but I wonder why this is done on purpose.

-------------

PR: https://git.openjdk.org/jol/pull/26


More information about the jol-dev mailing list