mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -29,15 +29,6 @@ bool always_do_update_barrier = false;
|
|||
|
||||
BarrierSet* oopDesc::_bs = NULL;
|
||||
|
||||
#ifdef PRODUCT
|
||||
void oopDesc::print_on(outputStream* st) const {}
|
||||
void oopDesc::print_address_on(outputStream* st) const {}
|
||||
char* oopDesc::print_string() { return NULL; }
|
||||
void oopDesc::print() {}
|
||||
void oopDesc::print_address() {}
|
||||
|
||||
#else //PRODUCT
|
||||
|
||||
void oopDesc::print_on(outputStream* st) const {
|
||||
if (this == NULL) {
|
||||
st->print_cr("NULL");
|
||||
|
@ -62,10 +53,6 @@ char* oopDesc::print_string() {
|
|||
return st.as_string();
|
||||
}
|
||||
|
||||
#endif // PRODUCT
|
||||
|
||||
// The print_value functions are present in all builds, to support the disassembler.
|
||||
|
||||
void oopDesc::print_value() {
|
||||
print_value_on(tty);
|
||||
}
|
||||
|
@ -83,9 +70,7 @@ void oopDesc::print_value_on(outputStream* st) const {
|
|||
st->print("NULL");
|
||||
} else if (java_lang_String::is_instance(obj)) {
|
||||
java_lang_String::print(obj, st);
|
||||
#ifndef PRODUCT
|
||||
if (PrintOopAddress) print_address_on(st);
|
||||
#endif //PRODUCT
|
||||
#ifdef ASSERT
|
||||
} else if (!Universe::heap()->is_in(obj) || !Universe::heap()->is_in(klass())) {
|
||||
st->print("### BAD OOP %p ###", (address)obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue