mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-29 08:05:14 +00:00
8267446: Taskqueue code fails with assert(bottom_relaxed() == age_top_relaxed()) failed: not empty
Reviewed-by: stefank, pliden
This commit is contained in:
parent
ebc9357d58
commit
f6909596ca
@ -78,7 +78,6 @@ TaskTerminator::TaskTerminator(uint n_threads, TaskQueueSetSuper* queue_set) :
|
||||
TaskTerminator::~TaskTerminator() {
|
||||
if (_offered_termination != 0) {
|
||||
assert(_offered_termination == _n_threads, "Must be terminated or aborted");
|
||||
assert_queue_set_empty();
|
||||
}
|
||||
|
||||
assert(_spin_master == NULL, "Should have been reset");
|
||||
|
||||
@ -465,6 +465,8 @@ public:
|
||||
GenericTaskQueueSet(uint n);
|
||||
~GenericTaskQueueSet();
|
||||
|
||||
// Set the i'th queue to the provided queue.
|
||||
// Does not transfer ownership of the queue to this queue set.
|
||||
void register_queue(uint i, T* q);
|
||||
|
||||
T* queue(uint n);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user