RFR: 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
    Alex Menkov 
    amenkov at openjdk.org
       
    Wed Dec  4 22:59:42 UTC 2024
    
    
  
On Wed, 4 Dec 2024 22:15:24 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> What I'm not so sure of is which JNI functions check this flag (I know only the "call" functions set it)
In `invokeNonVirtual` we calls `CallNonvirtualObjectMethodA` JNI function and then call `saveGlobalRef`, it looks strange if the case don't cause the warning.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22528#discussion_r1870389138
    
    
More information about the serviceability-dev
mailing list