if (VM.runningVM) { int slot = field.getOffset() >>> 2; Object it = VM_Statics.getSlotContentsAsObject(slot); return it == null; } else { try { return getJDKField(field).get(null) == null; } catch (IllegalAccessException e) { throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e); } catch (IllegalArgumentException e) { throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e); } }
return getObjectStaticFieldValue(field) == null;
  static final boolean isStaticFieldNull(VM_Field field)     throws NoSuchFieldException {    if (VM.runningVM) {      int slot = field.getOffset() >>> 2;      Object it = VM_Statics.getSlotContentsAsObject(slot);      return it == null;    } else {      try {	return getJDKField(field).get(null) == null;      } catch (IllegalAccessException e) {	throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e);      } catch (IllegalArgumentException e) {	throw new OPT_OptimizingCompilerException("Accessing "+field+" caused "+e);      }    }        }