comparison src/hotspot/share/opto/parse1.cpp @ 54048:744dc9c33676

8217417: Decorator name typo: C2_TIGHLY_COUPLED_ALLOC Summary: Fixed typo in decorator name, variables, and comments. Reviewed-by: tschatzl
author kbarrett
date Mon, 11 Mar 2019 02:05:07 -0400
parents fc6cfe40e32a
children 2f4393ec54d4
comparison
equal deleted inserted replaced
5:4c49120c09bd 6:dcced1c5a407
1 /* 1 /*
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
522 522
523 #ifdef ASSERT 523 #ifdef ASSERT
524 if (depth() == 1) { 524 if (depth() == 1) {
525 assert(C->is_osr_compilation() == this->is_osr_parse(), "OSR in sync"); 525 assert(C->is_osr_compilation() == this->is_osr_parse(), "OSR in sync");
526 if (C->tf() != tf()) { 526 if (C->tf() != tf()) {
527 MutexLockerEx ml(Compile_lock, Mutex::_no_safepoint_check_flag);
528 assert(C->env()->system_dictionary_modification_counter_changed(), 527 assert(C->env()->system_dictionary_modification_counter_changed(),
529 "Must invalidate if TypeFuncs differ"); 528 "Must invalidate if TypeFuncs differ");
530 } 529 }
531 } else { 530 } else {
532 assert(!this->is_osr_parse(), "no recursive OSR"); 531 assert(!this->is_osr_parse(), "no recursive OSR");
1039 // ret_phi may be top now. 1038 // ret_phi may be top now.
1040 // Otherwise, we've encountered an error and have to mark the method as 1039 // Otherwise, we've encountered an error and have to mark the method as
1041 // not compilable. Just using an assertion instead would be dangerous 1040 // not compilable. Just using an assertion instead would be dangerous
1042 // as this could lead to an infinite compile loop in non-debug builds. 1041 // as this could lead to an infinite compile loop in non-debug builds.
1043 { 1042 {
1044 MutexLockerEx ml(Compile_lock, Mutex::_no_safepoint_check_flag);
1045 if (C->env()->system_dictionary_modification_counter_changed()) { 1043 if (C->env()->system_dictionary_modification_counter_changed()) {
1046 C->record_failure(C2Compiler::retry_class_loading_during_parsing()); 1044 C->record_failure(C2Compiler::retry_class_loading_during_parsing());
1047 } else { 1045 } else {
1048 C->record_method_not_compilable("Can't determine return type."); 1046 C->record_method_not_compilable("Can't determine return type.");
1049 } 1047 }