--- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Wed Nov 22 14:53:20 2017 +0100
+++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Fri Nov 24 17:19:47 2017 +0000
@@ -245,6 +245,11 @@
// mov(reg, polling_page);
// ldr(zr, [reg, #offset]);
//
+ // or
+ //
+ // ldr(reg, [rthread, #offset]);
+ // ldr(zr, [reg, #offset]);
+ //
// however, we cannot rely on the polling page address load always
// directly preceding the read from the page. C1 does that but C2
// has to do the load and read as two independent instruction