diff src/share/vm/c1/c1_GraphBuilder.cpp @ 20471:945284eb609f

8049532: LogCompilation: C1: inlining tree is flat (no depth is stored) Reviewed-by: roland, iveresov
author vlivanov
date Mon, 14 Jul 2014 03:28:13 -0700
parents 2fd0fd493045
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/c1/c1_GraphBuilder.cpp	Mon Jul 14 03:27:21 2014 -0700
+++ b/src/share/vm/c1/c1_GraphBuilder.cpp	Mon Jul 14 03:28:13 2014 -0700
@@ -3960,10 +3960,15 @@
   // Clear out bytecode stream
   scope_data()->set_stream(NULL);
 
+  CompileLog* log = compilation()->log();
+  if (log != NULL) log->head("parse method='%d'", log->identify(callee));
+
   // Ready to resume parsing in callee (either in the same block we
   // were in before or in the callee's start block)
   iterate_all_blocks(callee_start_block == NULL);
 
+  if (log != NULL) log->done("parse");
+
   // If we bailed out during parsing, return immediately (this is bad news)
   if (bailed_out())
       return false;