Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegion.cpp @ 6008:b632e80fc9dc
4988100: oop_verify_old_oop appears to be dead
Summary: removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com
Reviewed-by: jmasa, jwilhelm
author | brutisso |
---|---|
date | Mon, 16 Apr 2012 08:57:18 +0200 |
parents | a9647476d1a4 |
children | 720b6a76dd9d |
comparison
equal
deleted
inserted
replaced
6007:5c86f8211d1e | 6008:b632e80fc9dc |
---|---|
777 st->print(" PTAMS "PTR_FORMAT" NTAMS "PTR_FORMAT, | 777 st->print(" PTAMS "PTR_FORMAT" NTAMS "PTR_FORMAT, |
778 prev_top_at_mark_start(), next_top_at_mark_start()); | 778 prev_top_at_mark_start(), next_top_at_mark_start()); |
779 G1OffsetTableContigSpace::print_on(st); | 779 G1OffsetTableContigSpace::print_on(st); |
780 } | 780 } |
781 | 781 |
782 void HeapRegion::verify(bool allow_dirty) const { | 782 void HeapRegion::verify() const { |
783 bool dummy = false; | 783 bool dummy = false; |
784 verify(allow_dirty, VerifyOption_G1UsePrevMarking, /* failures */ &dummy); | 784 verify(VerifyOption_G1UsePrevMarking, /* failures */ &dummy); |
785 } | 785 } |
786 | 786 |
787 // This really ought to be commoned up into OffsetTableContigSpace somehow. | 787 // This really ought to be commoned up into OffsetTableContigSpace somehow. |
788 // We would need a mechanism to make that code skip dead objects. | 788 // We would need a mechanism to make that code skip dead objects. |
789 | 789 |
790 void HeapRegion::verify(bool allow_dirty, | 790 void HeapRegion::verify(VerifyOption vo, |
791 VerifyOption vo, | |
792 bool* failures) const { | 791 bool* failures) const { |
793 G1CollectedHeap* g1 = G1CollectedHeap::heap(); | 792 G1CollectedHeap* g1 = G1CollectedHeap::heap(); |
794 *failures = false; | 793 *failures = false; |
795 HeapWord* p = bottom(); | 794 HeapWord* p = bottom(); |
796 HeapWord* prev_p = NULL; | 795 HeapWord* prev_p = NULL; |