[master] Withdrawn: 8303816: [Lilliput] Use realloc instead of malloc+copy when growing the lock-stack

Roman Kennke rkennke at openjdk.org
Wed Mar 8 14:14:14 UTC 2023


On Wed, 8 Mar 2023 11:24:44 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> We currently grow the fast-locking lock-stack by allocating a larger stack and copying over all elements. This can be done simpler and more efficient by using realloc instead of malloc+copy.
> 
> I also applied the same change to the upstream fast-locking PR: https://github.com/openjdk/jdk/pull/10907
> 
> Testing:
>  - [x] tier1

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/lilliput/pull/79


More information about the lilliput-dev mailing list