[9] RFR(S): 8022968: Some codecache allocation failures don't result in invoking the sweeper

Tobias Hartmann tobias.hartmann at oracle.com
Wed Jun 25 13:54:40 UTC 2014


please review the following patch for JDK-8022968.

Bug: https://bugs.openjdk.java.net/browse/JDK-8022968
Webrev: http://cr.openjdk.java.net/~thartmann/8022968/webrev.00/

Some code cache allocation failures are not handled appropriately by 
either calling CompileBroker::handle_full_code_cache() to stop 
compilation and invoke the sweeper or terminating the VM. An allocation 
failure in AbstractICache::initialize(..) would even lead to a 
segmentation fault in the CodeBuffer constructor.

Add calls to CompileBroker::handle_full_code_cache() or fail gracefully 
where necessary.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140625/dc7bd2ff/attachment-0001.html>

More information about the hotspot-compiler-dev mailing list