Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/cardTableRS.cpp @ 8668:3c9db54c2660
8008081: Print outs do not have matching arguments
Summary: Corrected formatted prints to have matching arguments, removed dead print_frame_layout function
Reviewed-by: sla, dholmes
author | mikael |
---|---|
date | Tue, 26 Feb 2013 08:54:03 -0800 |
parents | db9981fd3124 |
children | 6f817ce50129 |
comparison
equal
deleted
inserted
replaced
8106:ec2eddfed950 | 8668:3c9db54c2660 |
---|---|
351 template <class T> void do_oop_work(T* p) { | 351 template <class T> void do_oop_work(T* p) { |
352 HeapWord* jp = (HeapWord*)p; | 352 HeapWord* jp = (HeapWord*)p; |
353 assert(jp >= _begin && jp < _end, | 353 assert(jp >= _begin && jp < _end, |
354 err_msg("Error: jp " PTR_FORMAT " should be within " | 354 err_msg("Error: jp " PTR_FORMAT " should be within " |
355 "[_begin, _end) = [" PTR_FORMAT "," PTR_FORMAT ")", | 355 "[_begin, _end) = [" PTR_FORMAT "," PTR_FORMAT ")", |
356 _begin, _end)); | 356 jp, _begin, _end)); |
357 oop obj = oopDesc::load_decode_heap_oop(p); | 357 oop obj = oopDesc::load_decode_heap_oop(p); |
358 guarantee(obj == NULL || (HeapWord*)obj >= _boundary, | 358 guarantee(obj == NULL || (HeapWord*)obj >= _boundary, |
359 err_msg("pointer " PTR_FORMAT " at " PTR_FORMAT " on " | 359 err_msg("pointer " PTR_FORMAT " at " PTR_FORMAT " on " |
360 "clean card crosses boundary" PTR_FORMAT, | 360 "clean card crosses boundary" PTR_FORMAT, |
361 (HeapWord*)obj, jp, _boundary)); | 361 (HeapWord*)obj, jp, _boundary)); |