Mercurial > hg > truffle
comparison src/share/vm/oops/arrayKlass.cpp @ 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 |
---|---|
177 | 177 |
178 jint arrayKlass::jvmti_class_status() const { | 178 jint arrayKlass::jvmti_class_status() const { |
179 return JVMTI_CLASS_STATUS_ARRAY; | 179 return JVMTI_CLASS_STATUS_ARRAY; |
180 } | 180 } |
181 | 181 |
182 #ifndef PRODUCT | |
183 | |
184 // Printing | 182 // Printing |
185 | 183 |
186 void arrayKlass::oop_print_on(oop obj, outputStream* st) { | 184 void arrayKlass::oop_print_on(oop obj, outputStream* st) { |
187 assert(obj->is_array(), "must be array"); | 185 assert(obj->is_array(), "must be array"); |
188 Klass::oop_print_on(obj, st); | 186 Klass::oop_print_on(obj, st); |
189 st->print_cr(" - length: %d", arrayOop(obj)->length()); | 187 st->print_cr(" - length: %d", arrayOop(obj)->length()); |
190 } | 188 } |
191 | 189 |
192 #endif | |
193 | |
194 // Verification | 190 // Verification |
195 | 191 |
196 void arrayKlass::oop_verify_on(oop obj, outputStream* st) { | 192 void arrayKlass::oop_verify_on(oop obj, outputStream* st) { |
197 guarantee(obj->is_array(), "must be array"); | 193 guarantee(obj->is_array(), "must be array"); |
198 arrayOop a = arrayOop(obj); | 194 arrayOop a = arrayOop(obj); |