> https://bugs.openjdk.java.net/browse/JDK-8253086
> 
> ObservableListWrapper.java
>  * public boolean removeAll(Collection<?> c)
> * public boolean retainAll(Collection<?> c)
> 
> These two methods use BitSet, but it doesn't make sense.
> By rewriting to the equivalent behavior that does not use BitSet, it is 
> possible to reduce the CPU load in a wide range
> of use cases.
> The test is done with the following command.
> 
> * gradle base: test
> * gradle controls: test

yosbits has updated the pull request incrementally with one additional commit 
since the last revision:

  8253086: Optimization of removeAll and retainAll of ObservableListWrapper

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/305/files
  - new: https://git.openjdk.java.net/jfx/pull/305/files/8e7bcc9e..6ba02baa

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=305&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=305&range=00-01

  Stats: 124 lines in 2 files changed: 121 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jfx/pull/305.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/305/head:pull/305

PR: https://git.openjdk.java.net/jfx/pull/305

Reply via email to