[10] RFR(S): 8190351: InitialAndMaxUsageTest does not free allocated blob

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Oct 30 15:02:43 UTC 2017


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