Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
6717:5bbe9618118e | 7062:8c5333c80cfd |
---|---|
458 if (time_per_call < m->graal_priority()) { | 458 if (time_per_call < m->graal_priority()) { |
459 m->set_graal_priority(time_per_call); | 459 m->set_graal_priority(time_per_call); |
460 } | 460 } |
461 } | 461 } |
462 } | 462 } |
463 | |
463 if (!m->queued_for_compilation()) { | 464 if (!m->queued_for_compilation()) { |
465 if (TraceCompilationPolicy) { | |
466 tty->print("method invocation trigger: "); | |
467 m->print_short_name(tty); | |
468 tty->print_cr(" ( interpreted " INTPTR_FORMAT ", size=%d, hotCount=%d, hotTime=" UINT64_FORMAT " ) ", (address)m(), m->code_size(), hot_count, hot_time); | |
469 } | |
470 | |
471 assert(m->is_native() || m->method_data() != NULL, "do not compile code methods"); | |
464 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_highest_tier, m, hot_count, "count", thread); | 472 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_highest_tier, m, hot_count, "count", thread); |
465 } | 473 } |
466 } | 474 } |
467 } | 475 } |
468 } | 476 } |