Alignment problem with hashtable locks on PowerPC

Jeff Sturm jsturm@one-point.com
Fri Oct 5 10:54:00 GMT 2001



On Thu, 15 Nov 2001, Boehm, Hans wrote:
> JVMs that use a compacting garbage collector don't really have much of a
> choice in this matter, since they need some extra header bits for hashcodes
> etc. anyway.  Thus usually you can find the space for a few synchronization
> bits in the second header word, and there is little point in not using it.
> Gcj has a choice.  Thus there's an opportunity for the experiment ...

Interesting.  Related to that I recently saw this discussion regarding
the flex compiler:

http://www.flex-compiler.lcs.mit.edu/Harpoon/hypermail/java-dev/0233.html

Jeff



More information about the Java-patches mailing list