nmethod::make_not_entrant() and native methods (original) (raw)
Andrew Haley aph at redhat.com
Fri Sep 11 09:22:11 UTC 2015
- Previous message: RFR 8134995(M): [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
- Next message: nmethod::make_not_entrant() and native methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: RFR 8134995(M): [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
- Next message: nmethod::make_not_entrant() and native methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]