Integrated: 8291736: find_method_handle_intrinsic leaks Method*

Coleen Phillimore coleenp at openjdk.org
Tue Sep 6 14:04:50 UTC 2022


On Tue, 23 Aug 2022 15:29:58 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> As part of the SymbolPropertyTable conversion, we noticed that threads could race to add the Method entry to the table, and the loser wasn't deleted.  This change locks the InvokeMethodTable_lock through the Method creation so that it's not leaked.  See bug for details, but this was performance tested with our general suite of performance tests to show no significant differences.
> Also tested with tier1-3, and previously 4-7 with SymbolPropertyTable conversion patch.

This pull request has now been integrated.

Changeset: c05015bc
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c05015bc93916303ff1f16dec5d9391d2d773f41
Stats:     33 lines in 1 file changed: 5 ins; 6 del; 22 mod

8291736: find_method_handle_intrinsic leaks Method*

Reviewed-by: hseigel, iklam, dholmes

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

PR: https://git.openjdk.org/jdk/pull/9983


More information about the hotspot-runtime-dev mailing list