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

Reply via email to