[Bug libgcj/8995] race cases in interpreter

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 15 17:17:00 GMT 2006



------- Comment #3 from tromey at gcc dot gnu dot org  2006-03-15 17:17 -------
Despite what the original report says, we don't really want to
resolve all entries when compiling.
Also it would be best to avoid any kind of synchronization at all.

One idea would be to 'or' the argument to one of these instructions
with 0x1 when the datum is unresolved.  This can be tested reasonably
quickly.  And, since these lookups are all idempotent, it does not
matter if two threads happen to do a small amount of redudant lookup
work.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8995



More information about the Gcc-bugs mailing list