comparison src/share/vm/interpreter/bytecodeInterpreter.inline.hpp @ 1681:126ea7725993

6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
author bobv
date Tue, 03 Aug 2010 08:13:38 -0400
parents c18cbe5936b8
children f95d63e2154a
comparison
equal deleted inserted replaced
1680:a64438a2b7e8 1681:126ea7725993
25 // This file holds platform-independent bodies of inline functions for the C++ based interpreter 25 // This file holds platform-independent bodies of inline functions for the C++ based interpreter
26 26
27 #ifdef CC_INTERP 27 #ifdef CC_INTERP
28 28
29 #ifdef ASSERT 29 #ifdef ASSERT
30 extern "C" { typedef void (*verify_oop_fn_t)(oop, const char *);}; 30 #define VERIFY_OOP(o_) \
31 #define VERIFY_OOP(o) \ 31 if (VerifyOops) { \
32 /*{ verify_oop_fn_t verify_oop_entry = \ 32 assert((oop(o_))->is_oop_or_null(), "Not an oop!"); \
33 *StubRoutines::verify_oop_subroutine_entry_address(); \ 33 StubRoutines::_verify_oop_count++; \
34 if (verify_oop_entry) { \ 34 }
35 (*verify_oop_entry)((o), "Not an oop!"); \
36 } \
37 }*/
38 #else 35 #else
39 #define VERIFY_OOP(o) 36 #define VERIFY_OOP(o)
40 #endif 37 #endif
41 38
42 // Platform dependent data manipulation 39 // Platform dependent data manipulation