RFR(S): 8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)

Igor Veresov igor.veresov at oracle.com
Mon Oct 21 21:17:19 PDT 2013


If think you can just use the existing "UseCompiler" flag, that we set to false when -Xint is specified and just not call init_compiler_threads() if UseCompiler == false.

igor

On Oct 21, 2013, at 2:54 AM, Albert Noll <albert.noll at oracle.com> wrote:

> Hi,
> 
> could I have reviews for this small patch?
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8026949
> webrev: http://cr.openjdk.java.net/~anoll/8026949/webrev.00/
> 
> Problem: 8023014 introduced a wrong warning: Initialization of C1 thread failed (no space to run compilers) when the VM is started
>                with -Xint
> 
> Solution: Do not start compiler threads if VM is started with -Xint
> 
> Testing: -Xint flag does not print out the false warning. Tested flag combinations:
>       -XX:+TieredCompilation -Xint (-server / -client)
>       -XX:-TieredCompilation -Xint   (-server / -client)
> 
> 
> Many thanks in advance,
> Albert
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20131021/00824db9/attachment.html 


More information about the hotspot-compiler-dev mailing list