< prev index next >
src/hotspot/share/gc/shared/barrierSetAssembler.cpp
Print this page
*** 24,34 ****
#include "gc/shared/barrierSetAssembler.hpp"
#include "memory/universe.hpp"
#include "utilities/globalDefinitions.hpp"
! bool BarrierSetAssembler::needs_explicit_null_check(intptr_t offset) {
// 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");
--- 24,34 ----
#include "gc/shared/barrierSetAssembler.hpp"
#include "memory/universe.hpp"
#include "utilities/globalDefinitions.hpp"
! 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 >