L
Lee
Hello,
I have searched all java groups and I can not get understanding on
working memory on a JVM. What is _working memory_ after all? The
concept is only briefly discussed in Chapter 8: Threads and Locks.
But I have not found much useful info in 3.5 Runtime Data Area. I
have browsed some open source JVM implementation, still can not find
how the working memory works?
I guess the working memory is a logical local cache built on top of
the heap shared by all threads. It is just a per-thread memory area.
JVM uses it to avoid the shared area accesses synchronization
inefficiency. So basically you have two copies of objects, one in
shared area, the other in the per-thread memory area. Is it correct?
Cheers,
Lee
I have searched all java groups and I can not get understanding on
working memory on a JVM. What is _working memory_ after all? The
concept is only briefly discussed in Chapter 8: Threads and Locks.
But I have not found much useful info in 3.5 Runtime Data Area. I
have browsed some open source JVM implementation, still can not find
how the working memory works?
I guess the working memory is a logical local cache built on top of
the heap shared by all threads. It is just a per-thread memory area.
JVM uses it to avoid the shared area accesses synchronization
inefficiency. So basically you have two copies of objects, one in
shared area, the other in the per-thread memory area. Is it correct?
Cheers,
Lee