src/share/vm/compiler/methodLiveness.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,39 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #include "precompiled.hpp" + #include "ci/ciMethod.hpp" + #include "ci/ciMethodBlocks.hpp" + #include "ci/ciStreams.hpp" + #include "compiler/methodLiveness.hpp" + #include "interpreter/bytecode.hpp" + #include "interpreter/bytecodes.hpp" + #include "memory/allocation.inline.hpp" + #include "utilities/bitMap.inline.hpp" + // The MethodLiveness class performs a simple liveness analysis on a method // in order to decide which locals are live (that is, will be used again) at // a particular bytecode index (bci). // // The algorithm goes:
*** 58,70 **** // summarize the effects of all exceptional continuations from the block as // a single set (_exception_exit), losing some information but simplifying the // analysis. - # include "incls/_precompiled.incl" - # include "incls/_methodLiveness.cpp.incl" - //-------------------------------------------------------------------------- // The BitCounter class is used for counting the number of bits set in // some BitMap. It is only used when collecting liveness statistics. #ifndef PRODUCT --- 68,77 ----