[kaffe] quick init arg flag question

gonzo Robert.N.Gonzalez at williams.edu
Fri Aug 16 08:50:41 PDT 2002


in kaffe/kaffevm/verify.c:verify3() there's a check to see if the 3rd pass
of the verifier should be run on a class.  that check is:
  if ((class->loader == 0 && (Kaffe_JavaVMArgs[0].verifyMode & 1) == 0) ||
      (class->loader != 0 && (Kaffe_JavaVMArgs[0].verifyMode & 2) == 0)) {
		return (true);
  }

i found Kaffe_JavaVMArgs[] in kaffe/kaffevm/jni.c and it sets verifyMode
to 0 (that is, the verifier will never be run on any class, at least by
default).

what do the bits of verifyMode in struct JavaVMInitArgs (the type of
Kaffe_JavaVMArgs[], declared in include/jni.h) mean?


thanks,
~rob





More information about the kaffe mailing list