Withdrawn: 8301136: Improve unlink() and unlink_all() of ResourceHashtableBase
Xin Liu
xliu at openjdk.org
Mon Mar 13 17:32:39 UTC 2023
On Thu, 26 Jan 2023 08:15:37 GMT, Xin Liu <xliu at openjdk.org> wrote:
> 1. Apply the same idea of JDK-8300184 to unlink().
> 2. Because ResourceHashtableBase doesn't support copy assignment, client of it has to purge all elements first when it needs to assign it. We would like provide a specialized version called 'unlink_all()'. We don't need to update each node's _next in this case. We only nullify all buckets.
> 3. This patch also provides a specialized version of unlink_all() for destructor. We don't even update buckets. it's dead anyway.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/12213
More information about the hotspot-dev
mailing list