Skip to content

Eagerly null out dequeued elements in ChunkedArrayQueue#803

Merged
alexandru merged 1 commit into
monix:masterfrom
iravid:eager-nulling-chunkedarrayqueue
Jan 8, 2019
Merged

Eagerly null out dequeued elements in ChunkedArrayQueue#803
alexandru merged 1 commit into
monix:masterfrom
iravid:eager-nulling-chunkedarrayqueue

Conversation

@iravid
Copy link
Copy Markdown
Contributor

@iravid iravid commented Jan 7, 2019

This is a very simplistic fix for an issue I'm having, opening this for discussion (and to avoid keeping this in a local fork :-))

G1 Old Gen before the fix:
image

After the fix:
image

@alexandru
Copy link
Copy Markdown
Member

Thanks a lot @iravid for investigating this.

@iravid
Copy link
Copy Markdown
Contributor Author

iravid commented Jan 7, 2019

Happy to help! Any chance you could restart the build?

@alexandru
Copy link
Copy Markdown
Member

Just did. The build is a little fragile, due to the tests being a little too heavy for Travis.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 7, 2019

Codecov Report

Merging #803 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #803      +/-   ##
==========================================
+ Coverage   90.42%   90.46%   +0.03%     
==========================================
  Files         426      426              
  Lines       12308    12309       +1     
  Branches     2264     2267       +3     
==========================================
+ Hits        11130    11135       +5     
+ Misses       1178     1174       -4

@alexandru alexandru merged commit 1d77551 into monix:master Jan 8, 2019
alexandru pushed a commit that referenced this pull request Jan 12, 2019
* Acquire lock per subscription instead of observable-wide lock

* Update cats-effect, cats-effect-laws to 1.1.0 (#788)

* Update sbt-scalajs, scalajs-compiler, scalajs-library... to 0.6.26 (#785)

* Scala 2.12.8 (#797)

* Update intervalWithFixedDelay scaladoc (#798)

* Update intervalWithFixedDelay scaladoc

* Update Observable.scala

* fix scalacOptions (#796)

* fix scalacOptions

"-Ywarn-unused-import" removed since Scala 2.13.x

scala/scala@ad25805

* fix scalacOptions for Scala 2.13.x

some options removed since Scala 2.13.x

* Eagerly null out dequeued elements in ChunkedArrayQueue (#803)

* Observable buffers refactoring (#801)

* Refactoring of Observable buffers and OverflowStrategy

* Observable.create change signature

* Fix Mima reports

* Small adjustments

* Add forgotten default value for maxBatch

* Make OverflowStrategy.Unbounded final

* Fix Mima

* Fix #787: encapsulate local ctx on task execution (#802)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants