src/share/vm/c1/c1_Compilation.cpp

changeset 4320
c5d414e98fd4
parent 4164
d804e148cff8
child 4860
46f6f063b272
     1.1 --- a/src/share/vm/c1/c1_Compilation.cpp	Mon Dec 03 15:48:49 2012 -0800
     1.2 +++ b/src/share/vm/c1/c1_Compilation.cpp	Mon Nov 26 15:11:55 2012 +0100
     1.3 @@ -129,7 +129,15 @@
     1.4    CHECK_BAILOUT();
     1.5  
     1.6    // setup ir
     1.7 +  CompileLog* log = this->log();
     1.8 +  if (log != NULL) {
     1.9 +    log->begin_head("parse method='%d' ",
    1.10 +                    log->identify(_method));
    1.11 +    log->stamp();
    1.12 +    log->end_head();
    1.13 +  }
    1.14    _hir = new IR(this, method(), osr_bci());
    1.15 +  if (log)  log->done("parse");
    1.16    if (!_hir->is_valid()) {
    1.17      bailout("invalid parsing");
    1.18      return;

mercurial