new Cog VMs available

26 views
Skip to first unread message

Eliot Miranda

unread,
Jun 7, 2013, 11:21:12 AM6/7/13
to newspeak...@googlegroups.com
CogVM source as per VMMaker.oscog-eem.296/r2732.

Make the Production/Debug/Assert distinction static so one can find it with
strings - vm.  Add an ident for the ITIMER_HEARTBEAT linux VMs.

Fix bug in eden filling/object overwrite checking.  must use unsigned
vars in the fill loop.

Add a plugin to support the VMProfiler on linux (now Steve Rees
has told us how to get proper thread priorities on newer linuxes).

Replace broken primitiveUtcWithOffset with a version that works.
Cast primitiveUtcWithOffset in terms of a new ioLocalSecondsOffset.

Add stricter checking code to OSProcessPlugins.

Add SqueakSSL plugin to nsvm plugins.

Change -version output to print if a Production, Debug or Assert VM.

Add some error checking to the UnixOSProcessPlugin's forkAndExecInDirectory
prim.  Eliminate some compiler warnings in the plugin.

Eliminate some excessive use of push/popRemappableOop[:] in the SocketPlugin.

Fix numberic option parsing in sqSocketSetOptions... (quite possibly the longest
C function name I've ever seen).  The old code only supported 1-digit length
values, so setsockopt(SO_SNDBUF, 4096 didn't do what was expected at all
(attempted to set the buffer size to 909717556, which is little-endian ascii
for '4096', '4096' asByteArray unsignedLongAt: 1 => 909717556).

Occasionally bizarre interactions cause the heartbeat's interval timer to
disable.  e.g. on CentOS linux when using PAM to authenticate, a failing authen-
tication sequence disables the interval timer, for reasons unknown (setting
a breakpoint in setitimer doesn't show an actual call).  So a work around is
to check the timer as a side-effect of ioRelinquishProcessorForMicroseconds.

Add Callback LIFO ordering support to the new-style Callback return primitives
to the IA32ABI Aline plugins.  Fix some compiler warnings there-in.

Improve the debug message printing in sqUnixExternalPrims.c so it prints line
numbers.
--
best,
Eliot
Reply all
Reply to author
Forward
0 new messages