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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "incls/_precompiled.incl" 26 #include "incls/_parse1.cpp.incl" 27 28 // Static array so we can figure out which bytecodes stop us from compiling 29 // the most. Some of the non-static variables are needed in bytecodeInfo.cpp 30 // and eventually should be encapsulated in a proper class (gri 8/18/98). 31 32 int nodes_created = 0; 33 int methods_parsed = 0; 34 int methods_seen = 0; 35 int blocks_parsed = 0; 36 int blocks_seen = 0; 37 38 int explicit_null_checks_inserted = 0; 39 int explicit_null_checks_elided = 0; 40 int all_null_checks_found = 0, implicit_null_checks = 0; 41 int implicit_null_throws = 0; 42 43 int reclaim_idx = 0; 44 int reclaim_in = 0; 45 int reclaim_node = 0; 46 | 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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "precompiled.hpp" 26 #include "compiler/compileLog.hpp" 27 #include "interpreter/linkResolver.hpp" 28 #include "oops/methodOop.hpp" 29 #include "opto/addnode.hpp" 30 #include "opto/idealGraphPrinter.hpp" 31 #include "opto/locknode.hpp" 32 #include "opto/memnode.hpp" 33 #include "opto/parse.hpp" 34 #include "opto/rootnode.hpp" 35 #include "opto/runtime.hpp" 36 #include "runtime/arguments.hpp" 37 #include "runtime/handles.inline.hpp" 38 #include "runtime/sharedRuntime.hpp" 39 #include "utilities/copy.hpp" 40 41 // Static array so we can figure out which bytecodes stop us from compiling 42 // the most. Some of the non-static variables are needed in bytecodeInfo.cpp 43 // and eventually should be encapsulated in a proper class (gri 8/18/98). 44 45 int nodes_created = 0; 46 int methods_parsed = 0; 47 int methods_seen = 0; 48 int blocks_parsed = 0; 49 int blocks_seen = 0; 50 51 int explicit_null_checks_inserted = 0; 52 int explicit_null_checks_elided = 0; 53 int all_null_checks_found = 0, implicit_null_checks = 0; 54 int implicit_null_throws = 0; 55 56 int reclaim_idx = 0; 57 int reclaim_in = 0; 58 int reclaim_node = 0; 59 |