[8u] RFR: aarch32: change in ldrd/strd macrosses required for implicit null check
Fedor Burdun
fedor.burdun at azulsystems.com
Wed Mar 16 15:30:04 UTC 2016
Hi All,
Let me ask you for review the patch that is one of prerequisites for C1.
The problem is in calculating the offset where SIGSEGV that should be turned into NPE can happen.
Before introducing ldrd/strd macrosses in macroAssembler we could rely on code_offset() saved before emitting load/store operation.
However now in case several address modes ldrd/strd macrosses will emit an additional instruction resolving address before real load/store.
The code offset where implicit NPE can happen now can be calculated by sum of code_offset() and value returned by ldrd/strd macrosess.
This patch doesn't change template interpreter's behaviour, so I've tested only build in core configuration.
Thanks,
Fedor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implictiNullCheck.patch
Type: text/x-patch
Size: 4533 bytes
Desc: implictiNullCheck.patch
URL: <http://mail.openjdk.java.net/pipermail/aarch32-port-dev/attachments/20160316/6aa7a3fa/implictiNullCheck.patch>
More information about the aarch32-port-dev
mailing list