Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciEnv.cpp @ 10197:7b23cb975cf2
8011675: adding compilation level to replay data
Reviewed-by: kvn, vlivanov
author | iignatyev |
---|---|
date | Thu, 25 Apr 2013 11:09:24 -0700 |
parents | e12c9b3740db |
children | 9ce110b1d14a |
comparison
equal
deleted
inserted
replaced
10196:dc7db03f5aa2 | 10197:7b23cb975cf2 |
---|---|
1162 GrowableArray<ciMetadata*>* objects = _factory->get_ci_metadata(); | 1162 GrowableArray<ciMetadata*>* objects = _factory->get_ci_metadata(); |
1163 out->print_cr("# %d ciObject found", objects->length()); | 1163 out->print_cr("# %d ciObject found", objects->length()); |
1164 for (int i = 0; i < objects->length(); i++) { | 1164 for (int i = 0; i < objects->length(); i++) { |
1165 objects->at(i)->dump_replay_data(out); | 1165 objects->at(i)->dump_replay_data(out); |
1166 } | 1166 } |
1167 Method* method = task()->method(); | 1167 CompileTask* task = this->task(); |
1168 int entry_bci = task()->osr_bci(); | 1168 Method* method = task->method(); |
1169 int entry_bci = task->osr_bci(); | |
1170 int comp_level = task->comp_level(); | |
1169 // Klass holder = method->method_holder(); | 1171 // Klass holder = method->method_holder(); |
1170 out->print_cr("compile %s %s %s %d", | 1172 out->print_cr("compile %s %s %s %d %d", |
1171 method->klass_name()->as_quoted_ascii(), | 1173 method->klass_name()->as_quoted_ascii(), |
1172 method->name()->as_quoted_ascii(), | 1174 method->name()->as_quoted_ascii(), |
1173 method->signature()->as_quoted_ascii(), | 1175 method->signature()->as_quoted_ascii(), |
1174 entry_bci); | 1176 entry_bci, comp_level); |
1175 out->flush(); | 1177 out->flush(); |
1176 } | 1178 } |