Minor bug, JVMPI observation

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Oct 3 09:46:00 GMT 2001


Bryce McKinlay wrote:

> Is the #ifdef JVMPI here really neccessary? Since _Jv_AllocPtrFreeObj 
> is inline, the only thing is saves is the _Jv_InitClass, which is also 
> inline and, I think, very cheap considering it is __builtin_expect'ed 
> and the class object needs to be dereferenced soon anyway in order to 
> set the new object's vtable.


Oh, duh, _Jv_AllocPtrFreeObject isn't inline. The patch is fine ;-)

regards

Bryce.




More information about the Java-patches mailing list