8199220: Zero build broken after 8195103, 8191102 and 8189871

Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
This commit is contained in:
Ed Nevill 2018-03-13 18:22:53 +00:00
parent 2ab07cc314
commit 828e824a0f
5 changed files with 12 additions and 1 deletions

View file

@ -116,6 +116,7 @@ void CardTableModRefBS::print_on(outputStream* st) const {
// that specific collector in mind, and the documentation above suitably
// extended and updated.
void CardTableModRefBS::on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {
#if defined(COMPILER2) || INCLUDE_JVMCI
if (!ReduceInitialCardMarks) {
return;
}
@ -137,6 +138,7 @@ void CardTableModRefBS::on_slowpath_allocation_exit(JavaThread* thread, oop new_
invalidate(mr);
}
}
#endif // COMPILER2 || JVMCI
}
void CardTableModRefBS::initialize_deferred_card_mark_barriers() {