changeset 8447:f8b1fb102364 jdk8u152-b17-aarch32-171102

8140584: [aarch32] nmethod::oops_do_marking_epilogue always runs verification code
author snazarki
date Wed, 18 Oct 2017 19:37:09 +0300
parents 143fa4bdb122
children cef745145365
files src/cpu/aarch32/vm/relocInfo_aarch32.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch32/vm/relocInfo_aarch32.cpp	Thu Nov 02 16:39:50 2017 +0300
+++ b/src/cpu/aarch32/vm/relocInfo_aarch32.cpp	Wed Oct 18 19:37:09 2017 +0300
@@ -50,14 +50,14 @@
     }
     assert(const_addr, "should not be NULL");
     if (verify_only) {
-      assert(nal->data_addr() == (intptr_t*) const_addr, "instructions must match");
+      guarantee(nal->data_addr() == (intptr_t*) const_addr, "instructions must match");
       return;
     }
     nal->set_data_addr((intptr_t*) const_addr);
   } else {
     NativeMovConstReg *nm = NativeMovConstReg::from(addr());
     if (verify_only) {
-      assert(nm->data() == (intptr_t) x, "instructions must match");
+      guarantee(nm->data() == (intptr_t) x, "instructions must match");
       return;
     }
     nm->set_data((intptr_t) x);