Object value) {
Object value) throws PrivilegedActionPragma {
    private static void setStaticField(Class<?> clazz, String fieldName,            Object value) {        final VmStaticField f = (VmStaticField) clazz.getVmClass().getField(                fieldName);        final Vm vm = Vm.getVm();        final Object staticsTable;        final Offset offset;        if (f.isShared()) {            staticsTable = Unsafe.getCurrentProcessor().getSharedStaticsTable();            offset = Offset.fromIntZeroExtend(f.getSharedStaticsIndex() << 2);        } else {            staticsTable = Unsafe.getCurrentProcessor().getIsolatedStaticsTable();            offset = Offset.fromIntZeroExtend(f.getIsolatedStaticsIndex() << 2);                    }        final Address ptr = VmMagic.getArrayData(staticsTable);        ptr.store(ObjectReference.fromObject(value), offset);    }