< prev index next >

src/hotspot/share/asm/codeBuffer.cpp

Print this page
@@ -326,11 +326,12 @@
      assert(rtype == relocInfo::none              ||
             rtype == relocInfo::runtime_call_type ||
             rtype == relocInfo::internal_word_type||
             rtype == relocInfo::section_word_type ||
             rtype == relocInfo::external_word_type||
-            rtype == relocInfo::barrier_type,
+            rtype == relocInfo::barrier_type      ||
+            rtype == relocInfo::patchable_barrier_type,
             "code needs relocation information");
      // leave behind an indication that we attempted a relocation
      DEBUG_ONLY(_locs_start = _locs_limit = (relocInfo*)badAddress);
      return;
    }
< prev index next >