[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Wed Nov 12 12:35:33 CET 2008
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 08/11/12 12:35:33
Modified files:
cm3/m3-sys/m3middle/src/: Target.m3
cm3/m3-libs/m3core/src/C/MIPS64_OPENBSD/: Csetjmp.i3
Log message:
It IS important to size the jmp_buf correctly, on pthreads systems,
else
large allocation (such as in M3ID's initializers)
=> garbage collector (or just via normal garbage accretion)
=> ProcessStacks
=> ProcessMe
=> RTMachine.SaveState
=> typicall setjmp, or getcontext
Win32 doesn't use RTMachine.SaveState, it uses GetThreadContext.
Ideally this size would not be repeated in both Csetjmp.i3 and Target.m3.
Also change Target.m3 for this case to "look the same" -- use hex and integers/address
instead of decimal/bytes (safe assumption that sizeof(integer)==sizeof(address))
More information about the M3commit
mailing list