Integrated: 8305252: make_method_handle_intrinsic may call java code under a lock

Coleen Phillimore coleenp at openjdk.org
Mon Apr 24 12:59:03 UTC 2023


On Mon, 3 Apr 2023 19:30:49 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change adds an entry to the method intrinsic table without the Method and creates one later.  Racing threads wait() to get the method.  This is somewhat more complicated but avoids having to flush the Method and compiled nmethod for the thread that loses the race.
> Tested with tier1-4.

This pull request has now been integrated.

Changeset: 7400aff3
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7400aff3b8a0294dcbb6e89e9d8aad984f29fe92
Stats:     62 lines in 3 files changed: 32 ins; 5 del; 25 mod

8305252: make_method_handle_intrinsic may call java code under a lock

Reviewed-by: dholmes, matsaave, iklam

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

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


More information about the hotspot-runtime-dev mailing list