This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Linking libgcj, and Java security


Do we all agree on what the CNI rules are about pointers to collectable objects in C/C++ data structures/libraries? 

I have a secondary concern about the use of static constructors in all of this.  Is there a way to avoid them?  My recollection is that ordering issues eventually got in the way of most other attempts to use constructors in libgcj.  The collector now avoids them.  Their use here also seems brittle to me since the garbage collector (and presumably some Java code?) can be run before main().

Hans

> -----Original Message-----
> From: Anthony Green [mailto:green@redhat.com]
> Sent: Wednesday, December 04, 2002 1:01 PM
> To: Andrew Haley
> Cc: Jeff Sturm; Boehm, Hans; java@gcc.gnu.org
> Subject: RE: Linking libgcj, and Java security
> 
> 
> On Wed, 2002-12-04 at 12:10, Andrew Haley wrote:
> > Sounds good, if that's indeed the cause of the problem.
> 
> Hmm.. but then this wouldn't catch pointers to collectable 
> objects found
> in C/C++ data/bss.
> 
> AG
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]