[10] RFR(S): 8190351: InitialAndMaxUsageTest does not free allocated blob
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Oct 30 15:07:49 UTC 2017
Thanks Vladimir!
Best regards,
Tobias
On 30.10.2017 16:02, Vladimir Kozlov wrote:
> Looks good.
>
> Thanks,
> Vladimir
>
> On 10/30/17 4:49 AM, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>> https://bugs.openjdk.java.net/browse/JDK-8190351
>> http://cr.openjdk.java.net/~thartmann/8190351/webrev.00/
>>
>> If the fillWithSize method bails out because bean.getUsage().getUsed() > CACHE_USAGE_COEF * maxSize, it does not add
>> the just allocated blob to the list. Also, we start with allocating blobs of size 368 Mb which is too large for a
>> default code cache size of 256 Mb.
>>
>> I've refactored the test and changed the allocation loop to start with blobs of size ~36 Mb.
>>
>> Thanks,
>> Tobias
More information about the hotspot-compiler-dev
mailing list