Mon, 05 Apr 2010 12:19:22 -0400
6940310: G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop()
Summary: Calling the methods region_stack_push() and region_stack_pop() concurrent is not MT-safe. The assumption is that we will only call region_stack_push() during a GC pause and region_stack_pop() during marking. Unfortunately, we also call region_stack_push() during marking which seems to be introducing subtle marking failures. This change introduces lock-based methods for pushing / popping to be called during marking.
Reviewed-by: iveresov, johnc
kamg@526 | 1 | ^build/ |
duke@435 | 2 | ^dist/ |
ohair@1490 | 3 | /nbproject/private/ |
never@1155 | 4 | ^src/share/tools/hsdis/build/ |
never@657 | 5 | ^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/ |
never@657 | 6 | ^src/share/tools/IdealGraphVisualizer/build/ |
never@657 | 7 | ^src/share/tools/IdealGraphVisualizer/dist/ |