Blocks :
|
|
Duplicate :
|
In ConcurrentMark::weakRefsWork(), if the mark stack overflows we should not proceed to prune the string and symbol tables because we can't trust the g1_is_alive closure until marking has completed. Before starting to unlink elements from the string and symbol table we should check that has_overflown() is false.