8150561: [AArch64] JVMCI improvements

Reviewed-by: kvn
This commit is contained in:
Christian Thalinger 2016-02-24 09:22:45 -08:00
parent 98d969d374
commit 88575c5de7
6 changed files with 28 additions and 8 deletions

View file

@ -551,6 +551,14 @@ JVMCIEnv::CodeInstallResult CodeInstaller::install(JVMCICompiler* compiler, Hand
compiler, _debug_recorder, _dependencies, env, id,
has_unsafe_access, _has_wide_vector, installed_code, compiled_code, speculation_log);
cb = nm;
if (nm != NULL && env == NULL) {
DirectiveSet* directive = DirectivesStack::getMatchingDirective(method, compiler);
bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
nm->print_nmethod(printnmethods);
}
DirectivesStack::release(directive);
}
}
if (cb != NULL) {