Xiao Feng,
I believe you are correct. At least redefineClasses() should throw an
error if the object size change is attempted.
Thanks.
On Dec 22, 2007 11:54 AM, Xiao-Feng Li <[EMAIL PROTECTED]> wrote:
> Hi, I found the new helper design uses following interface for object
> allocation:
>
> public static Address alloc(Address classHandle) {
> int objSize = VMHelper.getTypeSize(classHandle);
> int allocationHandle = VMHelper.getAllocationHandle(classHandle);
> return alloc(objSize, allocationHandle);
> }
>
> Is the VMHelper.getTypeSize(classHandle) actually a runtime constant
> known by JIT?
>
> Thanks,
> xiaofeng
>
> --
> http://xiao-feng.blogspot.com
>
--
With best regards,
Alexei,
ESSD, Intel