8233796: Shenandoah is broken after 8233708

Reviewed-by: rkennke
This commit is contained in:
Zhengyu Gu 2019-11-07 09:41:22 -05:00
parent d935027a68
commit 4860dad68c

View File

@ -383,7 +383,7 @@ void ShenandoahBarrierC2Support::verify(RootNode* root) {
(!verify_helper(in1, phis, visited, ShenandoahValue, trace, barriers_used) ||
!verify_helper(in2, phis, visited, ShenandoahValue, trace, barriers_used))) {
phis.clear();
visited.Reset();
visited.reset();
}
}
} else if (n->is_LoadStore()) {
@ -635,7 +635,7 @@ void ShenandoahBarrierC2Support::verify(RootNode* root) {
for (uint i = sfpt->jvms()->scloff(); i < sfpt->jvms()->endoff(); i++) {
if (!verify_helper(sfpt->in(i), phis, visited, ShenandoahLoad, trace, barriers_used)) {
phis.clear();
visited.Reset();
visited.reset();
}
}
}