RFR 8012371: Adjust Tiered compile threshold according to available space in codecache

Igor Veresov iggy.veresov at gmail.com
Thu May 16 08:54:44 PDT 2013

On May 16, 2013, at 8:41 AM, Albert Noll <albert.noll at oracle.com> wrote:

> Hi,
> Thanks again for looking at the code. I made the proposed changes.
> http://cr.openjdk.java.net/~anoll/8012371/webrev.02/
> I also thought about adding:
> if (CodeCache::needs_flushing()) {
>  return Double.MAX_VALUE;
> }

^^ I think that would not produce a correct behavior. The fact that the code cache needs flushing doesn't mean you can't compile. It just means there's little space left, I think it would be wrong to just stop compiling.


More information about the hotspot-compiler-dev mailing list