mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8225019: Update JVMCI
Reviewed-by: never, dlong
This commit is contained in:
parent
766a7dd9f7
commit
7356905a83
83 changed files with 609 additions and 210 deletions
|
@ -835,6 +835,7 @@ void Method::set_signature_handler(address handler) {
|
|||
|
||||
|
||||
void Method::print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason) {
|
||||
assert(reason != NULL, "must provide a reason");
|
||||
if (PrintCompilation && report) {
|
||||
ttyLocker ttyl;
|
||||
tty->print("made not %scompilable on ", is_osr ? "OSR " : "");
|
||||
|
@ -895,7 +896,7 @@ bool Method::is_not_compilable(int comp_level) const {
|
|||
}
|
||||
|
||||
// call this when compiler finds that this method is not compilable
|
||||
void Method::set_not_compilable(int comp_level, bool report, const char* reason) {
|
||||
void Method::set_not_compilable(const char* reason, int comp_level, bool report) {
|
||||
if (is_always_compilable()) {
|
||||
// Don't mark a method which should be always compilable
|
||||
return;
|
||||
|
@ -926,7 +927,7 @@ bool Method::is_not_osr_compilable(int comp_level) const {
|
|||
return false;
|
||||
}
|
||||
|
||||
void Method::set_not_osr_compilable(int comp_level, bool report, const char* reason) {
|
||||
void Method::set_not_osr_compilable(const char* reason, int comp_level, bool report) {
|
||||
print_made_not_compilable(comp_level, /*is_osr*/ true, report, reason);
|
||||
if (comp_level == CompLevel_all) {
|
||||
set_not_c1_osr_compilable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue