--- a/src/hotspot/share/gc/parallel/psParallelCompact.cpp Mon Oct 23 03:15:19 2017 -0400
+++ b/src/hotspot/share/gc/parallel/psParallelCompact.cpp Mon Oct 23 11:20:53 2017 +0200
@@ -2119,14 +2119,14 @@
pt.print_all_references();
}
+ // This is the point where the entire marking should have completed.
+ assert(cm->marking_stacks_empty(), "Marking should have completed");
+
{
GCTraceTime(Debug, gc, phases) tm("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(cm->marking_stacks_empty(), "Marking should have completed");
-
{
GCTraceTime(Debug, gc, phases) tm_m("Class Unloading", &_gc_timer);