This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/17978] New: Binary Compatibility: use _Jv_AllocBytes to allocate interface dispatch tables
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2004 19:31:10 -0000
- Subject: [Bug libgcj/17978] New: Binary Compatibility: use _Jv_AllocBytes to allocate interface dispatch tables
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On the BC branch, in link.cc, there are a number of
places where we use _Jv_Malloc where we ought to use
_Jv_AllocBytes. Search for the FIXME comments
(not every malloc needs to be replaced).
Actually doing this results in a buggy runtime, however.
There is probably some GC marking problem, however boehm.cc already
appears to mark the needed fields, so the exact problem
remains unknown.
--
Summary: Binary Compatibility: use _Jv_AllocBytes to allocate
interface dispatch tables
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
OtherBugsDependingO 12725
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17978