RFR (S) 8146801: Allocating short arrays of non-constant size is slow
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:
+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.
More information about the hotspot-compiler-dev