comparison src/share/vm/code/relocInfo.cpp @ 2002:ac637b7220d1

6985015: C1 needs to support compressed oops Summary: This change implements compressed oops for C1 for x64 and sparc. The changes are mostly on the codegen level, with a few exceptions when we do access things outside of the heap that are uncompressed from the IR. Compressed oops are now also enabled with tiered. Reviewed-by: twisti, kvn, never, phh
author iveresov
date Tue, 30 Nov 2010 23:23:40 -0800
parents f95d63e2154a
children b92c45f2bc75
comparison
equal deleted inserted replaced
1972:f95d63e2154a 2002:ac637b7220d1
1091 void RelocIterator::print_current() { 1091 void RelocIterator::print_current() {
1092 if (!has_current()) { 1092 if (!has_current()) {
1093 tty->print_cr("(no relocs)"); 1093 tty->print_cr("(no relocs)");
1094 return; 1094 return;
1095 } 1095 }
1096 tty->print("relocInfo@" INTPTR_FORMAT " [type=%d(%s) addr=" INTPTR_FORMAT, 1096 tty->print("relocInfo@" INTPTR_FORMAT " [type=%d(%s) addr=" INTPTR_FORMAT " offset=%d",
1097 _current, type(), reloc_type_string((relocInfo::relocType) type()), _addr); 1097 _current, type(), reloc_type_string((relocInfo::relocType) type()), _addr, _current->addr_offset());
1098 if (current()->format() != 0) 1098 if (current()->format() != 0)
1099 tty->print(" format=%d", current()->format()); 1099 tty->print(" format=%d", current()->format());
1100 if (datalen() == 1) { 1100 if (datalen() == 1) {
1101 tty->print(" data=%d", data()[0]); 1101 tty->print(" data=%d", data()[0]);
1102 } else if (datalen() > 0) { 1102 } else if (datalen() > 0) {