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