8269120: Build failure with GCC 6.3.0 after JDK-8017163

Reviewed-by: iwalulya, tschatzl, kbarrett
This commit is contained in:
Aleksey Shipilev 2021-06-23 07:03:51 +00:00
parent a5e4307050
commit 6237630664

View File

@ -200,7 +200,7 @@ class G1CardSetAllocator {
// by this allocator.
static G1CardSetContainer* volatile* next_ptr(G1CardSetContainer& node);
typedef LockFreeStack<G1CardSetContainer, &next_ptr> NodeStack;
typedef LockFreeStack<G1CardSetContainer, &G1CardSetAllocator::next_ptr> NodeStack;
volatile bool _transfer_lock;
NodeStack _free_nodes_list;