RFR: 8305252: make_method_handle_intrinsic may call java code under a lock
    Coleen Phillimore 
    coleenp at openjdk.org
       
    Thu Apr 20 18:36:43 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.
-------------
Commit messages:
 - 8305252: make_method_handle_intrinsic may call java code under a lock
Changes: https://git.openjdk.org/jdk/pull/13307/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13307&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305252
  Stats: 52 lines in 3 files changed: 30 ins; 3 del; 19 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