1049 } |
1049 } |
1050 |
1050 |
1051 guarantee(!method->is_abstract(), "cannot compile abstract methods"); |
1051 guarantee(!method->is_abstract(), "cannot compile abstract methods"); |
1052 assert(method->method_holder()->oop_is_instance(), |
1052 assert(method->method_holder()->oop_is_instance(), |
1053 "sanity check"); |
1053 "sanity check"); |
1054 assert(!InstanceKlass::cast(method->method_holder())->is_not_initialized(), |
1054 assert(!method->method_holder()->is_not_initialized(), |
1055 "method holder must be initialized"); |
1055 "method holder must be initialized"); |
1056 assert(!method->is_method_handle_intrinsic(), "do not enqueue these guys"); |
1056 assert(!method->is_method_handle_intrinsic(), "do not enqueue these guys"); |
1057 |
1057 |
1058 if (CIPrintRequests) { |
1058 if (CIPrintRequests) { |
1059 tty->print("request: "); |
1059 tty->print("request: "); |
1204 const char* comment, Thread* THREAD) { |
1204 const char* comment, Thread* THREAD) { |
1205 // make sure arguments make sense |
1205 // make sure arguments make sense |
1206 assert(method->method_holder()->oop_is_instance(), "not an instance method"); |
1206 assert(method->method_holder()->oop_is_instance(), "not an instance method"); |
1207 assert(osr_bci == InvocationEntryBci || (0 <= osr_bci && osr_bci < method->code_size()), "bci out of range"); |
1207 assert(osr_bci == InvocationEntryBci || (0 <= osr_bci && osr_bci < method->code_size()), "bci out of range"); |
1208 assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native()), "cannot compile abstract/native methods"); |
1208 assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native()), "cannot compile abstract/native methods"); |
1209 assert(!InstanceKlass::cast(method->method_holder())->is_not_initialized(), "method holder must be initialized"); |
1209 assert(!method->method_holder()->is_not_initialized(), "method holder must be initialized"); |
1210 |
1210 |
1211 if (!TieredCompilation) { |
1211 if (!TieredCompilation) { |
1212 comp_level = CompLevel_highest_tier; |
1212 comp_level = CompLevel_highest_tier; |
1213 } |
1213 } |
1214 |
1214 |