Re: [Sablevm-developer] Question about _svmf_stopping_java()
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-01-18 21:16:06
|
Etienne Gagnon wrote: > 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... ;-)] If anyone has good notes of that presentation I will type them up some time (I might need help with the diagram portion). Unfortunately I don't have good notes. Cheers, Chris |