[9] RFR(S): 8059390: code cache fills up for bigapps/Weblogic+medrec/nowarnings
Zoltán Majó
zoltan.majo at oracle.com
Tue Sep 30 14:13:24 UTC 2014
Hi,
please review the following patch (contributed by Tobias Hartmann):
Bug: https://bugs.openjdk.java.net/browse/JDK-8059390
Problem: The code cache fills up for the test
bigapps/Weblogic+medrec/nowarnings. Affected platforms are: linux_x64,
solaris_sparcv9, windows_x64-64, solaris_x64, with tiered compilation
both on/off.
Solution: The bug is caused by the segmented code cache changes
JDK-8015774. The problem is that with -XX:-SegmentedCodeCache
'CodeCache::reverse_free_ratio' always returns 0 because
'CodeCache::get_code_heap' returns NULL for
CodeBlobType::MethodNonProfiled and CodeBlobType::MethodProfiled.
Retrieve code heap in CodeCache ::allocate(), in
CodeCache::report_codemem_full(), and in
CodeCache::unallocated_capacity() also if segmented code cache is disabled.
Webrev: http://cr.openjdk.java.net/~zmajo/8059390/webrev.00/
Testing:
JPRT
Aurora Weblogic+medrec on solaris_x64, solaris_sparcv9 and linux_amd64.
Thank you and best regards,
Zoltan
More information about the hotspot-compiler-dev
mailing list