Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.cpp @ 16142:a87f6927d73e
added -XX:GraalThreads to mimic -G:Threads when using native compilation queue for Graal
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 18 Jun 2014 21:58:45 +0200 |
parents | 64d8c6c8a00c |
children | 237508bd73b9 |
comparison
equal
deleted
inserted
replaced
16141:da21746a64bf | 16142:a87f6927d73e |
---|---|
803 } | 803 } |
804 #endif // COMPILER1 | 804 #endif // COMPILER1 |
805 | 805 |
806 #if defined(COMPILERGRAAL) | 806 #if defined(COMPILERGRAAL) |
807 _compilers[1] = graal; | 807 _compilers[1] = graal; |
808 c2_count = UseGraalCompilationQueue ? 0 : c2_count; | 808 c2_count = UseGraalCompilationQueue ? 0 : FLAG_IS_DEFAULT(GraalThreads) ? c2_count : GraalThreads; |
809 #endif // COMPILERGRAAL | 809 #endif // COMPILERGRAAL |
810 | 810 |
811 #ifdef COMPILER2 | 811 #ifdef COMPILER2 |
812 if (c2_count > 0) { | 812 if (c2_count > 0) { |
813 _compilers[1] = new C2Compiler(); | 813 _compilers[1] = new C2Compiler(); |