On Jan 31, 2006, at 6:10 PM, David P Grove wrote:
Jikes RVM also does m-to-n threading, so it's there's more than 1 VM
that's whacky in this regard. The things we need to do are most
likely
different than what Kaffe needs to do, but having a chance to
inject a VM
callback before the thread dives off into a blocking system call is
something we would like to be able to do. We have some linux specific
hacks (evil with dlopen to intercept poll, select, etc), but it's
fragile
and doesn't work on other platforms like AIX and OS X that Jikes
RVM runs
on.
Would my suggestion for Enter/Exit callbacks help this?