[10] RFR(S): 8190351: InitialAndMaxUsageTest does not free allocated blob
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Oct 30 11:49:09 UTC 2017
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