RFR: 8305252: make_method_handle_intrinsic may call java code under a lock [v3]

Coleen Phillimore coleenp at openjdk.org
Fri Apr 21 03:23:36 UTC 2023


> 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fix another bug with intrinsic method iteration (need to check for null)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13307/files
  - new: https://git.openjdk.org/jdk/pull/13307/files/3c9d9555..81a2826c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13307&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13307&range=01-02

  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13307.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13307/head:pull/13307

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


More information about the hotspot-runtime-dev mailing list