A DESCRIPTION OF THE PROBLEM :
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.
We will send you a PR on github, so please issue a JBS number.
The test is done with the following command.
* gradle base: test
* gradle controls: test
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.
We will send you a PR on github, so please issue a JBS number.
The test is done with the following command.
* gradle base: test
* gradle controls: test
- relates to
-
JDK-8254040 [testbug] Need additional regressions tests for ObservableList removeAll / retainAll
- Resolved
-
JDK-8254013 gradle test should run all test classes even if they don't end with "Test"
- Resolved
- links to
-
Review openjdk/jfx/305