Re: [Sablevm-developer] Question about _svmf_stopping_java()
Brought to you by:
egagnon
From: Etienne G. <gag...@uq...> - 2004-01-18 20:53:22
|
Archie Cobbs wrote: > However, I don't think this really gives you much advantage. It lets > a thread continue in native mode instead of halting, but it probably > is not going to get much further before having to come back to java mode > and then halt anyway. Just a thought experiment really. Theoretically, it could quite possibly work (I would have to think carefully about all corner cases, but there's no deep reason it wouldn't work), but practically, I don't see much benefit. Current code simply depends on the well tested _svmf_halt_if_requested(). Adding custom code for such critical and difficult to write correctly code (even though it is short, it is very tricky) is not something I look forward to. :-) It also makes the state diagram simpler. [Yes, I know, I have not written it down, and my ex-supervisor almost killed me when I made a 1+ hour presentation to the Sable group about this stopping the world business, after my thesis was accepted without having written anything about it... ;-)] Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |