Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 1169:09646c4656ca
6915005: G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001
Summary: When enqueuing a completed PtrQueue buffer, cache a local pointer to the buffer and clear the field in the PtrQueue prior to unlocking the mutex referenced by the _lock field and pass the cached local value to the enqueuing routine. This will prevent the same completed buffer being enqueued multiple times, which causes the hang.
Reviewed-by: ysr
author | johnc |
---|---|
date | Wed, 13 Jan 2010 15:45:47 -0800 |
parents | 6cb8e9df7174 |
children | 0414c1049f15 |
comparison
equal
deleted
inserted
replaced
1168:22e27cceb7d8 | 1169:09646c4656ca |
---|