[Investigation] Considering using a hashtable to store the signature handlers
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Thu Apr 13 14:43:23 UTC 2023
This approach seems fine, depending on how useful it is for improving
timing.
Remember that this hashtable needs a lock for lookup and modification.
This appears to be the case with the existing code.
Coleen
On 4/12/23 9:02 AM, Guoxiong Li wrote:
> On Tue, Apr 11, 2023 at 5:00 PM Andrew Haley
> <aph-open at littlepinkcloud.com> wrote:
>
> I would measure the time taken for the operations of insertion and
> lookup
> over a realistic range.
>
>
> Thanks for the test.
>
> The draft patch [1] may be useful to you.
>
> [1] https://github.com/lgxbslgx/jdk/tree/SIGNATURE_HANDLERS
>
> Best Regards,
> -- Guoxiong
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20230413/c866cb1d/attachment.htm>
More information about the hotspot-dev
mailing list