mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8149969: [JVMCI] PrintNMethods is ignored for CompilerToVM.installCode when not called from the broker
Reviewed-by: kvn
This commit is contained in:
parent
03174f3030
commit
05730d99ba
4 changed files with 21 additions and 6 deletions
|
@ -1919,12 +1919,9 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
|
|||
|
||||
collect_statistics(thread, time, task);
|
||||
|
||||
bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
|
||||
if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
|
||||
nmethod* nm = task->code();
|
||||
if (nm != NULL) {
|
||||
nm->print_nmethod(printnmethods);
|
||||
}
|
||||
nmethod* nm = task->code();
|
||||
if (nm != NULL) {
|
||||
nm->maybe_print_nmethod(directive);
|
||||
}
|
||||
DirectivesStack::release(directive);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue