< prev index next >

src/hotspot/cpu/s390/templateTable_s390.cpp

Print this page




  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "asm/macroAssembler.inline.hpp"
  28 #include "interpreter/interpreter.hpp"
  29 #include "interpreter/interpreterRuntime.hpp"
  30 #include "interpreter/interp_masm.hpp"
  31 #include "interpreter/templateTable.hpp"
  32 #include "memory/universe.hpp"
  33 #include "oops/objArrayKlass.hpp"
  34 #include "oops/oop.inline.hpp"
  35 #include "prims/methodHandles.hpp"

  36 #include "runtime/sharedRuntime.hpp"
  37 #include "runtime/stubRoutines.hpp"
  38 #include "runtime/synchronizer.hpp"
  39 
  40 #ifdef PRODUCT
  41 #define __ _masm->
  42 #define BLOCK_COMMENT(str)
  43 #define BIND(label)        __ bind(label);
  44 #else
  45 #define __ (PRODUCT_ONLY(false&&)Verbose ? (_masm->block_comment(FILE_AND_LINE),_masm):_masm)->
  46 #define BLOCK_COMMENT(str) __ block_comment(str)
  47 #define BIND(label)        __ bind(label); BLOCK_COMMENT(#label ":")
  48 #endif
  49 
  50 // The assumed minimum size of a BranchTableBlock.
  51 // The actual size of each block heavily depends on the CPU capabilities and,
  52 // of course, on the logic implemented in each block.
  53 #ifdef ASSERT
  54   #define BTB_MINSIZE 256
  55 #else




  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "asm/macroAssembler.inline.hpp"
  28 #include "interpreter/interpreter.hpp"
  29 #include "interpreter/interpreterRuntime.hpp"
  30 #include "interpreter/interp_masm.hpp"
  31 #include "interpreter/templateTable.hpp"
  32 #include "memory/universe.hpp"
  33 #include "oops/objArrayKlass.hpp"
  34 #include "oops/oop.inline.hpp"
  35 #include "prims/methodHandles.hpp"
  36 #include "runtime/safepointMechanism.hpp"
  37 #include "runtime/sharedRuntime.hpp"
  38 #include "runtime/stubRoutines.hpp"
  39 #include "runtime/synchronizer.hpp"
  40 
  41 #ifdef PRODUCT
  42 #define __ _masm->
  43 #define BLOCK_COMMENT(str)
  44 #define BIND(label)        __ bind(label);
  45 #else
  46 #define __ (PRODUCT_ONLY(false&&)Verbose ? (_masm->block_comment(FILE_AND_LINE),_masm):_masm)->
  47 #define BLOCK_COMMENT(str) __ block_comment(str)
  48 #define BIND(label)        __ bind(label); BLOCK_COMMENT(#label ":")
  49 #endif
  50 
  51 // The assumed minimum size of a BranchTableBlock.
  52 // The actual size of each block heavily depends on the CPU capabilities and,
  53 // of course, on the logic implemented in each block.
  54 #ifdef ASSERT
  55   #define BTB_MINSIZE 256
  56 #else


< prev index next >