This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/8995] race cases in interpreter
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2008 16:58:23 -0000
- Subject: [Bug libgcj/8995] race cases in interpreter
- References: <bug-8995-360@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from aph at gcc dot gnu dot org 2008-08-22 16:58 -------
Subject: Bug 8995
Author: aph
Date: Fri Aug 22 16:57:11 2008
New Revision: 139494
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139494
Log:
2008-08-22 Andrew Haley <aph@redhat.com>
PR libgcj/8995:
* interpret-run.cc (REWRITE_INSN): Null this macro.
* include/jvm.h (class _Jv_Linker): Declare resolve_mutex, init.
(read_cpool_entry, write_cpool_entry): New functions.
* link.cc (_Jv_Linker::resolve_mutex): new.
(_Jv_Linker::init): New function.
(_Jv_Linker::resolve_pool_entry): Use {read,write}_cpool_entry
to ensure atomic access to constant pool entries.
Modified:
branches/gcc-4_3-branch/libjava/ChangeLog
branches/gcc-4_3-branch/libjava/include/jvm.h
branches/gcc-4_3-branch/libjava/interpret-run.cc
branches/gcc-4_3-branch/libjava/link.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8995