equal
deleted
inserted
replaced
374 // Note, this offset don't have to be wordSize aligned. |
374 // Note, this offset don't have to be wordSize aligned. |
375 static int base_offset_in_bytes() { return (int) (offset_of(Array<T>, _data)); }; |
375 static int base_offset_in_bytes() { return (int) (offset_of(Array<T>, _data)); }; |
376 |
376 |
377 // FIXME: How to handle this? |
377 // FIXME: How to handle this? |
378 void print_value_on(outputStream* st) const { |
378 void print_value_on(outputStream* st) const { |
379 st->print("Array<T>(" INTPTR_FORMAT ")", this); |
379 st->print("Array<T>(" INTPTR_FORMAT ")", p2i(this)); |
380 } |
380 } |
381 |
381 |
382 #ifndef PRODUCT |
382 #ifndef PRODUCT |
383 void print(outputStream* st) { |
383 void print(outputStream* st) { |
384 for (int i = 0; i< _length; i++) { |
384 for (int i = 0; i< _length; i++) { |