Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/compilationPolicy.cpp @ 7062:8c5333c80cfd
increased CompileThreshold to increase reliability of profiling information
increased InitialCodeCacheSize to fit the bootstrapping
added flag -XX:GraalClassPath to allow providing a .jar or .zip file that contains all Graal classes
added support for the flag -XX:TraceCompilationPolicy to the Graal-specific compilation policy
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Thu, 15 Nov 2012 11:40:50 +0100 |
parents | fd71ca8c5f88 |
children | 7d815d842ee0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp Tue Nov 13 21:21:02 2012 +0100 +++ b/src/share/vm/runtime/compilationPolicy.cpp Thu Nov 15 11:40:50 2012 +0100 @@ -460,7 +460,15 @@ } } } + if (!m->queued_for_compilation()) { + if (TraceCompilationPolicy) { + tty->print("method invocation trigger: "); + m->print_short_name(tty); + tty->print_cr(" ( interpreted " INTPTR_FORMAT ", size=%d, hotCount=%d, hotTime=" UINT64_FORMAT " ) ", (address)m(), m->code_size(), hot_count, hot_time); + } + + assert(m->is_native() || m->method_data() != NULL, "do not compile code methods"); CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_highest_tier, m, hot_count, "count", thread); } }