mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6953477: Increase portability and flexibility of building Hotspot
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
This commit is contained in:
parent
c45761e2a8
commit
b95c7e9523
113 changed files with 1669 additions and 559 deletions
|
@ -27,14 +27,11 @@
|
|||
#ifdef CC_INTERP
|
||||
|
||||
#ifdef ASSERT
|
||||
extern "C" { typedef void (*verify_oop_fn_t)(oop, const char *);};
|
||||
#define VERIFY_OOP(o) \
|
||||
/*{ verify_oop_fn_t verify_oop_entry = \
|
||||
*StubRoutines::verify_oop_subroutine_entry_address(); \
|
||||
if (verify_oop_entry) { \
|
||||
(*verify_oop_entry)((o), "Not an oop!"); \
|
||||
} \
|
||||
}*/
|
||||
#define VERIFY_OOP(o_) \
|
||||
if (VerifyOops) { \
|
||||
assert((oop(o_))->is_oop_or_null(), "Not an oop!"); \
|
||||
StubRoutines::_verify_oop_count++; \
|
||||
}
|
||||
#else
|
||||
#define VERIFY_OOP(o)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue