Re: [Sablevm-developer] Threading support in SableVM
Brought to you by:
egagnon
From: Archie C. <ar...@de...> - 2004-02-20 05:53:35
|
Chris Pickett wrote: > "Locking any lock conceptually flushes all variables from a thread's > working memory, and unlocking any lock forces the writing out to main > memory of all variables that the thread has assigned." > > I'm pretty sure that when the spec says "working memory" it does not > mean "processor cache" but "thread-local heap". SableVM doesn't have > thread-local heaps (we discussed it the other day), and to me a large > part of the JMM appears to be unimportant for SableVM. I think that's mistaken... by "working memory" they just mean a conceptual "working memory" that only the one thread has access to. I.e., the processor cache metaphor is a good one here. Thread-local heaps are a different topic I think. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com |