RFR (S) 8146801: Allocating short arrays of non-constant size is slow
Christian Thalinger
christian.thalinger at oracle.com
Mon Feb 29 22:42:29 UTC 2016
> On Feb 29, 2016, at 12:24 PM, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
>
> On 03/01/2016 12:53 AM, Christian Thalinger wrote:
>>> On Feb 29, 2016, at 11:02 AM, Aleksey Shipilev
>> + product_pd(intx, InitArrayShortSize,
>> \
>>
>> Don’t make it a product flag; diagnostic should be sufficient. This
>> will require adding diagnostic_pd support. If you don’t want to do that
>> make the flag develop.
>
> Okay, develop_pd now:
> http://cr.openjdk.java.net/~shade/8146801/webrev.03/
+define_pd_global(intx, InitArrayShortSize, 18*BytesPerLong);
Can you remove the spaces in all files? Otherwise this looks good.
>
> diagnostic_pd would certainly be nice to have, but I don't really want
> to get even deeper into this rabbit hole.
…which I understand. We should file a starter Enhancement.
>
> Thanks,
> -Aleksey
>
More information about the hotspot-compiler-dev
mailing list