mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8291002: Rename Method::build_interpreter_method_data to Method::build_profiling_method_data
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
61e072d11c
commit
8ec3197683
9 changed files with 12 additions and 12 deletions
|
@ -574,9 +574,9 @@ void Method::print_invocation_count() {
|
|||
#endif
|
||||
}
|
||||
|
||||
// Build a MethodData* object to hold information about this method
|
||||
// collected in the interpreter.
|
||||
void Method::build_interpreter_method_data(const methodHandle& method, TRAPS) {
|
||||
// Build a MethodData* object to hold profiling information collected on this
|
||||
// method when requested.
|
||||
void Method::build_profiling_method_data(const methodHandle& method, TRAPS) {
|
||||
// Do not profile the method if metaspace has hit an OOM previously
|
||||
// allocating profiling data. Callers clear pending exception so don't
|
||||
// add one here.
|
||||
|
@ -599,7 +599,7 @@ void Method::build_interpreter_method_data(const methodHandle& method, TRAPS) {
|
|||
method->set_method_data(method_data);
|
||||
if (PrintMethodData && (Verbose || WizardMode)) {
|
||||
ResourceMark rm(THREAD);
|
||||
tty->print("build_interpreter_method_data for ");
|
||||
tty->print("build_profiling_method_data for ");
|
||||
method->print_name(tty);
|
||||
tty->cr();
|
||||
// At the end of the run, the MDO, full of data, will be dumped.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue