--- a/src/hotspot/share/gc/parallel/psMarkSweep.cpp Mon Oct 23 03:15:19 2017 -0400
+++ b/src/hotspot/share/gc/parallel/psMarkSweep.cpp Mon Oct 23 11:20:53 2017 +0200
@@ -543,14 +543,14 @@
pt.print_all_references();
}
+ // This is the point where the entire marking should have completed.
+ assert(_marking_stack.is_empty(), "Marking should have completed");
+
{
GCTraceTime(Debug, gc, phases) t("Weak Processing", _gc_timer);
- WeakProcessor::weak_oops_do(is_alive_closure(), mark_and_push_closure(), follow_stack_closure());
+ WeakProcessor::weak_oops_do(is_alive_closure(), &do_nothing_cl);
}
- // This is the point where the entire marking should have completed.
- assert(_marking_stack.is_empty(), "Marking should have completed");
-
{
GCTraceTime(Debug, gc, phases) t("Class Unloading", _gc_timer);