< prev index next >

src/hotspot/share/ci/ciTypeFlow.hpp

Print this page
rev 47445 : 8171853: Remove Shark compiler


  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 #ifndef SHARE_VM_CI_CITYPEFLOW_HPP
  26 #define SHARE_VM_CI_CITYPEFLOW_HPP
  27 
  28 #ifdef COMPILER2
  29 #include "ci/ciEnv.hpp"
  30 #include "ci/ciKlass.hpp"
  31 #include "ci/ciMethodBlocks.hpp"
  32 #endif
  33 #ifdef SHARK
  34 #include "ci/ciEnv.hpp"
  35 #include "ci/ciKlass.hpp"
  36 #include "ci/ciMethodBlocks.hpp"
  37 #include "shark/shark_globals.hpp"
  38 #endif
  39 
  40 
  41 class ciTypeFlow : public ResourceObj {
  42 private:
  43   ciEnv*    _env;
  44   ciMethod* _method;
  45   ciMethodBlocks* _methodBlocks;
  46   int       _osr_bci;
  47 
  48   // information cached from the method:
  49   int _max_locals;
  50   int _max_stack;
  51   int _code_size;
  52   bool      _has_irreducible_entry;
  53 
  54   const char* _failure_reason;
  55 
  56 public:
  57   class StateVector;
  58   class Loop;




  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 #ifndef SHARE_VM_CI_CITYPEFLOW_HPP
  26 #define SHARE_VM_CI_CITYPEFLOW_HPP
  27 
  28 #ifdef COMPILER2
  29 #include "ci/ciEnv.hpp"
  30 #include "ci/ciKlass.hpp"
  31 #include "ci/ciMethodBlocks.hpp"
  32 #endif






  33 
  34 
  35 class ciTypeFlow : public ResourceObj {
  36 private:
  37   ciEnv*    _env;
  38   ciMethod* _method;
  39   ciMethodBlocks* _methodBlocks;
  40   int       _osr_bci;
  41 
  42   // information cached from the method:
  43   int _max_locals;
  44   int _max_stack;
  45   int _code_size;
  46   bool      _has_irreducible_entry;
  47 
  48   const char* _failure_reason;
  49 
  50 public:
  51   class StateVector;
  52   class Loop;


< prev index next >