equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 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. |
88 |
88 |
89 Parse parser(jvms, method(), _expected_uses); |
89 Parse parser(jvms, method(), _expected_uses); |
90 // Grab signature for matching/allocation |
90 // Grab signature for matching/allocation |
91 #ifdef ASSERT |
91 #ifdef ASSERT |
92 if (parser.tf() != (parser.depth() == 1 ? C->tf() : tf())) { |
92 if (parser.tf() != (parser.depth() == 1 ? C->tf() : tf())) { |
93 MutexLockerEx ml(Compile_lock, Mutex::_no_safepoint_check_flag); |
|
94 assert(C->env()->system_dictionary_modification_counter_changed(), |
93 assert(C->env()->system_dictionary_modification_counter_changed(), |
95 "Must invalidate if TypeFuncs differ"); |
94 "Must invalidate if TypeFuncs differ"); |
96 } |
95 } |
97 #endif |
96 #endif |
98 |
97 |