< prev index next >

src/hotspot/share/gc/shared/barrierSetAssembler.cpp

Print this page

        

@@ -24,11 +24,11 @@
 
 #include "gc/shared/barrierSetAssembler.hpp"
 #include "memory/universe.hpp"
 #include "utilities/globalDefinitions.hpp"
 
-bool BarrierSetAssembler::needs_explicit_null_check(intptr_t offset) {
+bool BarrierSetAssembler::needs_explicit_null_check(intptr_t offset) const {
   // Exception handler checks the nmethod's implicit null checks table
   // only when this method returns false.
 #ifdef _LP64
   if (UseCompressedOops && Universe::narrow_oop_base() != NULL) {
     assert (Universe::heap() != NULL, "java heap should be initialized");
< prev index next >