RFR(S): 8171149 - java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with "Out of space in CodeCache for adapters"

Dmitrij Pochepko dmitrij.pochepko at oracle.com
Thu Jan 19 15:08:43 UTC 2017


Hi,

please review small fix for 8171149 - 
java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with 
"Out of space in CodeCache for adapters"

Test failed intermittently in case of exhausted code cache and no 
adapters could be created. This fix removes unnecessary printStackTrace 
which is called after code cache is exhausted, causing test to fail with 
VirtualMachineError. And also move checkPassed() method code to caller 
(to avoid new adapter generation after code cache exhaustion as well).


webrev: http://cr.openjdk.java.net/~dpochepk/8171149/webrev.01/

CR: https://bugs.openjdk.java.net/browse/JDK-8171149

I've tested this fix on linux-amd64.


Thanks,

Dmitrij



More information about the hotspot-compiler-dev mailing list