equal
deleted
inserted
replaced
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 |