RFR: 8354111: JavaDoc states that Iterator.remove() is linear in the LinkedBlockingDeque
Chen Liang
liach at openjdk.org
Wed Apr 9 13:31:27 UTC 2025
On Tue, 8 Apr 2025 08:50:37 GMT, kabutz <duke at openjdk.org> wrote:
> One of the features of the LinkedBlockingDeque is that it is a doubly-linked node queue, with pointers in each node to "prev" and "next", which allows remove() in the Iterator to remove the node in constant time. However, in the JavaDoc of the class, it lists Iterator.remove() as an example of a method that takes linear time.
Thanks for going through this process; since there is no actual impact on all of source/target/behavioral compatibility you can uncheck all those. I have reviewed the CSR; you can finalize it now.
After CSRs are finalized, the CSR lead (currently Joe Darcy) checks periodically and review the CSRs. It may take a few days.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24500#issuecomment-2789736203
More information about the core-libs-dev
mailing list