Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 17374:4a6e24a8fc2c
Track code installation time
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 08 Oct 2014 11:44:00 -0700 |
parents | 8853b9304083 |
children | f55f2d400797 |
comparison
equal
deleted
inserted
replaced
17373:ded2f1abfcda | 17374:4a6e24a8fc2c |
---|---|
452 Handle compiled_code_handle = JNIHandles::resolve(compiled_code); | 452 Handle compiled_code_handle = JNIHandles::resolve(compiled_code); |
453 CodeBlob* cb = NULL; | 453 CodeBlob* cb = NULL; |
454 Handle installed_code_handle = JNIHandles::resolve(installed_code); | 454 Handle installed_code_handle = JNIHandles::resolve(installed_code); |
455 Handle speculation_log_handle = JNIHandles::resolve(speculation_log); | 455 Handle speculation_log_handle = JNIHandles::resolve(speculation_log); |
456 | 456 |
457 TraceTime install_time("installCode", GraalCompiler::codeInstallTimer()); | |
457 CodeInstaller installer; | 458 CodeInstaller installer; |
458 GraalEnv::CodeInstallResult result = installer.install(compiled_code_handle, cb, installed_code_handle, speculation_log_handle); | 459 GraalEnv::CodeInstallResult result = installer.install(compiled_code_handle, cb, installed_code_handle, speculation_log_handle); |
459 | 460 |
460 if (PrintCodeCacheOnCompilation) { | 461 if (PrintCodeCacheOnCompilation) { |
461 stringStream s; | 462 stringStream s; |