RFR: 8266789: devirtualize find_node and remove of LinkedList
Xin Liu
xliu at openjdk.java.net
Thu May 27 07:15:07 UTC 2021
On Mon, 10 May 2021 07:49:49 GMT, Xin Liu <xliu at openjdk.org> wrote:
> Devirtualize find, find_node and remove. This patch make both LinkedListImpl
> and SortedLinkedList more generic. If the client doesn't use those member functions,
> it's not necessary to define equals() for the user-defined class E.
>
> Remove those 3 member functions from the pure interface LinkedList. subclasses
> implement them using regular member functions.
Thanks. I see. That's fine. I don't think it's a good idea to keep using SFINAE.
Let me close it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3944
More information about the hotspot-dev
mailing list