comparison src/share/vm/gc_implementation/g1/concurrentMark.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 5c86f8211d1e
children 720b6a76dd9d
comparison
equal deleted inserted replaced
6007:5c86f8211d1e 6008:b632e80fc9dc
1118 1118
1119 if (VerifyDuringGC) { 1119 if (VerifyDuringGC) {
1120 HandleMark hm; // handle scope 1120 HandleMark hm; // handle scope
1121 gclog_or_tty->print(" VerifyDuringGC:(before)"); 1121 gclog_or_tty->print(" VerifyDuringGC:(before)");
1122 Universe::heap()->prepare_for_verify(); 1122 Universe::heap()->prepare_for_verify();
1123 Universe::verify(/* allow dirty */ true, 1123 Universe::verify(/* silent */ false,
1124 /* silent */ false,
1125 /* option */ VerifyOption_G1UsePrevMarking); 1124 /* option */ VerifyOption_G1UsePrevMarking);
1126 } 1125 }
1127 1126
1128 G1CollectorPolicy* g1p = g1h->g1_policy(); 1127 G1CollectorPolicy* g1p = g1h->g1_policy();
1129 g1p->record_concurrent_mark_remark_start(); 1128 g1p->record_concurrent_mark_remark_start();
1158 1157
1159 if (VerifyDuringGC) { 1158 if (VerifyDuringGC) {
1160 HandleMark hm; // handle scope 1159 HandleMark hm; // handle scope
1161 gclog_or_tty->print(" VerifyDuringGC:(after)"); 1160 gclog_or_tty->print(" VerifyDuringGC:(after)");
1162 Universe::heap()->prepare_for_verify(); 1161 Universe::heap()->prepare_for_verify();
1163 Universe::verify(/* allow dirty */ true, 1162 Universe::verify(/* silent */ false,
1164 /* silent */ false,
1165 /* option */ VerifyOption_G1UseNextMarking); 1163 /* option */ VerifyOption_G1UseNextMarking);
1166 } 1164 }
1167 assert(!restart_for_overflow(), "sanity"); 1165 assert(!restart_for_overflow(), "sanity");
1168 } 1166 }
1169 1167
1948 1946
1949 if (VerifyDuringGC) { 1947 if (VerifyDuringGC) {
1950 HandleMark hm; // handle scope 1948 HandleMark hm; // handle scope
1951 gclog_or_tty->print(" VerifyDuringGC:(before)"); 1949 gclog_or_tty->print(" VerifyDuringGC:(before)");
1952 Universe::heap()->prepare_for_verify(); 1950 Universe::heap()->prepare_for_verify();
1953 Universe::verify(/* allow dirty */ true, 1951 Universe::verify(/* silent */ false,
1954 /* silent */ false,
1955 /* option */ VerifyOption_G1UsePrevMarking); 1952 /* option */ VerifyOption_G1UsePrevMarking);
1956 } 1953 }
1957 1954
1958 G1CollectorPolicy* g1p = G1CollectedHeap::heap()->g1_policy(); 1955 G1CollectorPolicy* g1p = G1CollectedHeap::heap()->g1_policy();
1959 g1p->record_concurrent_mark_cleanup_start(); 1956 g1p->record_concurrent_mark_cleanup_start();
2130 2127
2131 if (VerifyDuringGC) { 2128 if (VerifyDuringGC) {
2132 HandleMark hm; // handle scope 2129 HandleMark hm; // handle scope
2133 gclog_or_tty->print(" VerifyDuringGC:(after)"); 2130 gclog_or_tty->print(" VerifyDuringGC:(after)");
2134 Universe::heap()->prepare_for_verify(); 2131 Universe::heap()->prepare_for_verify();
2135 Universe::verify(/* allow dirty */ true, 2132 Universe::verify(/* silent */ false,
2136 /* silent */ false,
2137 /* option */ VerifyOption_G1UsePrevMarking); 2133 /* option */ VerifyOption_G1UsePrevMarking);
2138 } 2134 }
2139 2135
2140 g1h->verify_region_sets_optional(); 2136 g1h->verify_region_sets_optional();
2141 } 2137 }