nmethod::make_not_entrant() and native methods (original) (raw)
Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Sep 14 17:07:43 UTC 2015
- Previous message: nmethod::make_not_entrant() and native methods
- Next message: nmethod::make_not_entrant() and native methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am not sure. When we do class redefining we may deoptimize all nmethods.
Vladimir
On 9/11/15 2:22 AM, Andrew Haley wrote:
On AArch64 we have to place a NOP at the start of every compiled method so that we can, if needs be, patch its verified entry point. This is because of an architectural restriction that only nops, traps, and branches may be patched while code is running.
I am guessing that we do not need a NOP at the start of a compiled native wrapper because it will never be deoptimized. Is that right? Thanks, Andrew.
- Previous message: nmethod::make_not_entrant() and native methods
- Next message: nmethod::make_not_entrant() and native methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]