On Tue, 1 Feb 2022 19:26:19 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

> Shouldn't this be done when the invoke has completed rather than at the start 
> of the next invoke? Otherwise you potentially have one outstanding allocation 
> for every thread, and you still have a leak when the thread exits.

Yes, perhaps. Please help me, where would be a good and reliable place to do 
that? Towards the end of invoker_doInvoke() ?

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

PR: https://git.openjdk.java.net/jdk/pull/7306

Reply via email to