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