Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/compileBroker.cpp @ 1748:3e8fbc61cee8
6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Wed, 25 Aug 2010 05:27:54 -0700 |
parents | a62d332029cf |
children | d5d065957597 |
comparison
equal
deleted
inserted
replaced
1747:53dbe853fb3a | 1748:3e8fbc61cee8 |
---|---|
397 ResourceMark rm(thread); | 397 ResourceMark rm(thread); |
398 | 398 |
399 // <task_done ... stamp='1.234'> </task> | 399 // <task_done ... stamp='1.234'> </task> |
400 nmethod* nm = code(); | 400 nmethod* nm = code(); |
401 log->begin_elem("task_done success='%d' nmsize='%d' count='%d'", | 401 log->begin_elem("task_done success='%d' nmsize='%d' count='%d'", |
402 _is_success, nm == NULL ? 0 : nm->instructions_size(), | 402 _is_success, nm == NULL ? 0 : nm->content_size(), |
403 method->invocation_count()); | 403 method->invocation_count()); |
404 int bec = method->backedge_count(); | 404 int bec = method->backedge_count(); |
405 if (bec != 0) log->print(" backedge_count='%d'", bec); | 405 if (bec != 0) log->print(" backedge_count='%d'", bec); |
406 // Note: "_is_complete" is about to be set, but is not. | 406 // Note: "_is_complete" is about to be set, but is not. |
407 if (_num_inlined_bytecodes != 0) { | 407 if (_num_inlined_bytecodes != 0) { |
1845 tty->print_cr("%3d seconds: %f bytes/sec : %f (bytes %d + %d inlined)", | 1845 tty->print_cr("%3d seconds: %f bytes/sec : %f (bytes %d + %d inlined)", |
1846 compile_id, time.seconds(), bytes_per_sec, method->code_size(), task->num_inlined_bytecodes()); | 1846 compile_id, time.seconds(), bytes_per_sec, method->code_size(), task->num_inlined_bytecodes()); |
1847 } | 1847 } |
1848 | 1848 |
1849 // Collect counts of successful compilations | 1849 // Collect counts of successful compilations |
1850 _sum_nmethod_size += code->total_size(); | 1850 _sum_nmethod_size += code->total_size(); |
1851 _sum_nmethod_code_size += code->code_size(); | 1851 _sum_nmethod_code_size += code->insts_size(); |
1852 _total_compile_count++; | 1852 _total_compile_count++; |
1853 | 1853 |
1854 if (UsePerfData) { | 1854 if (UsePerfData) { |
1855 _perf_sum_nmethod_size->inc(code->total_size()); | 1855 _perf_sum_nmethod_size->inc( code->total_size()); |
1856 _perf_sum_nmethod_code_size->inc(code->code_size()); | 1856 _perf_sum_nmethod_code_size->inc(code->insts_size()); |
1857 _perf_total_compile_count->inc(); | 1857 _perf_total_compile_count->inc(); |
1858 } | 1858 } |
1859 | 1859 |
1860 if (is_osr) { | 1860 if (is_osr) { |
1861 if (UsePerfData) _perf_total_osr_compile_count->inc(); | 1861 if (UsePerfData) _perf_total_osr_compile_count->inc(); |