RFR (S) 8146801: Allocating short arrays of non-constant size is slow
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Feb 29 23:19:02 UTC 2016
On 03/01/2016 01:42 AM, Christian Thalinger wrote:
>> 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.
Yup:
http://cr.openjdk.java.net/~shade/8146801/webrev.04/
>> 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.
Here:
https://bugs.openjdk.java.net/browse/JDK-8150900
Thanks,
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160301/875e1806/signature.asc>
More information about the hotspot-compiler-dev
mailing list