src/share/vm/compiler/compileBroker.cpp

changeset 7203
966205f0e717
parent 7183
dd89808e49ba
child 7289
b9c94af14fd0
     1.1 --- a/src/share/vm/compiler/compileBroker.cpp	Fri Sep 19 11:12:39 2014 -0400
     1.2 +++ b/src/share/vm/compiler/compileBroker.cpp	Fri Sep 19 11:53:58 2014 -0700
     1.3 @@ -1175,6 +1175,12 @@
     1.4      return;
     1.5    }
     1.6  
     1.7 +  if (TieredCompilation) {
     1.8 +    // Tiered policy requires MethodCounters to exist before adding a method to
     1.9 +    // the queue. Create if we don't have them yet.
    1.10 +    method->get_method_counters(thread);
    1.11 +  }
    1.12 +
    1.13    // Outputs from the following MutexLocker block:
    1.14    CompileTask* task     = NULL;
    1.15    bool         blocking = false;

mercurial