A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ReactiveX/RxJava/commit/4c6c6fabd2ef04faae27964dcaf78bcd23c41a74 below:

Unlink dead nodes in MpscLinkedQueue · ReactiveX/RxJava@4c6c6fa · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-0

lines changed Original file line number Diff line number Diff line change

@@ -99,6 +99,8 @@ public T poll() {

99 99

// we have to null out the value because we are going to hang on to the node

100 100

nextValue = nextNode.getAndNullValue();

101 101

spConsumerNode(nextNode);

102 +

// unlink previous consumer to help gc

103 +

currConsumerNode.soNext(null);

102 104

return nextValue;

103 105

}

104 106

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4