src/share/vm/oops/methodDataOop.cpp

changeset 2559
72d6c57d0658
parent 2462
8012aa3ccede
child 2571
a97fd181b813
     1.1 --- a/src/share/vm/oops/methodDataOop.cpp	Tue Feb 08 16:12:16 2011 -0800
     1.2 +++ b/src/share/vm/oops/methodDataOop.cpp	Wed Feb 09 16:34:34 2011 -0800
     1.3 @@ -764,11 +764,13 @@
     1.4    if (TieredCompilation) {
     1.5      _invocation_counter.init();
     1.6      _backedge_counter.init();
     1.7 +    _invocation_counter_start = 0;
     1.8 +    _backedge_counter_start = 0;
     1.9      _num_loops = 0;
    1.10      _num_blocks = 0;
    1.11      _highest_comp_level = 0;
    1.12      _highest_osr_comp_level = 0;
    1.13 -    _would_profile = false;
    1.14 +    _would_profile = true;
    1.15    }
    1.16    set_creation_mileage(mileage_of(method()));
    1.17  

mercurial