Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompiler.cpp @ 15106:6876a4599b7e
create NodeClass for each Node subclass during class initialization of the latter
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 13:34:29 +0200 |
parents | 4df6d7c966a2 |
children | a20be10ad437 |
comparison
equal
deleted
inserted
replaced
15105:4833806209f2 | 15106:6876a4599b7e |
---|---|
99 | 99 |
100 if (UseCompiler) { | 100 if (UseCompiler) { |
101 _external_deopt_i2c_entry = create_external_deopt_i2c(); | 101 _external_deopt_i2c_entry = create_external_deopt_i2c(); |
102 #ifdef COMPILERGRAAL | 102 #ifdef COMPILERGRAAL |
103 bool bootstrap = FLAG_IS_DEFAULT(BootstrapGraal) ? !TieredCompilation : BootstrapGraal; | 103 bool bootstrap = FLAG_IS_DEFAULT(BootstrapGraal) ? !TieredCompilation : BootstrapGraal; |
104 bool hostedOnly = false; | |
105 #else | 104 #else |
106 bool bootstrap = false; | 105 bool bootstrap = false; |
107 bool hostedOnly = true; | |
108 #endif | 106 #endif |
109 VMToCompiler::startCompiler(bootstrap, hostedOnly); | 107 VMToCompiler::startCompiler(bootstrap); |
110 _initialized = true; | 108 _initialized = true; |
111 CompilationPolicy::completed_vm_startup(); | 109 CompilationPolicy::completed_vm_startup(); |
112 if (bootstrap) { | 110 if (bootstrap) { |
113 // Avoid -Xcomp and -Xbatch problems by turning on interpreter and background compilation for bootstrapping. | 111 // Avoid -Xcomp and -Xbatch problems by turning on interpreter and background compilation for bootstrapping. |
114 FlagSetting a(UseInterpreter, true); | 112 FlagSetting a(UseInterpreter, true); |