src/hotspot/share/oops/method.cpp
changeset 50416 ef980b9ac191
parent 49982 9042ffe5b7fe
child 50429 83aec1d357d4
equal deleted inserted replaced
50415:e4301f8c3aaa 50416:ef980b9ac191
   447 bool Method::init_method_counters(MethodCounters* counters) {
   447 bool Method::init_method_counters(MethodCounters* counters) {
   448   // Try to install a pointer to MethodCounters, return true on success.
   448   // Try to install a pointer to MethodCounters, return true on success.
   449   return Atomic::replace_if_null(counters, &_method_counters);
   449   return Atomic::replace_if_null(counters, &_method_counters);
   450 }
   450 }
   451 
   451 
   452 void Method::cleanup_inline_caches() {
       
   453   // The current system doesn't use inline caches in the interpreter
       
   454   // => nothing to do (keep this method around for future use)
       
   455 }
       
   456 
       
   457 
       
   458 int Method::extra_stack_words() {
   452 int Method::extra_stack_words() {
   459   // not an inline function, to avoid a header dependency on Interpreter
   453   // not an inline function, to avoid a header dependency on Interpreter
   460   return extra_stack_entries() * Interpreter::stackElementSize;
   454   return extra_stack_entries() * Interpreter::stackElementSize;
   461 }
   455 }
   462 
   456